• Home
  • Get help
  • Ask a question
Last post 2 hours 33 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67805
All time tickets 10478
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7698 – Need server settings

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 06 April 2021 00:29 UTC
Memphismark

I have a private webserver I use as a sandbox to make changes and not break the production copy.

I am unable to use the sh404SEF urls only while on the private webserver. Everything works fine on my production server (external hosting). I'm wondering if you know of any settings I need to configure to get it working. My versions are:

Ubuntu 20.04.2

Apache 2.4.41

PHP 7.4.12

mySQL  8.0.23

 

 
Tuesday, 06 April 2021 07:40 UTC
wb_weeblr

Hi

You did not say exactly what you mean by "not working" so I'm guessing you are faced with 404 generated by your web server when trying to load any page other than the home page. If different, please describe what happens exactly.

If you get 404s from your webserver (ie not the Joomla or sh404SEF error page), it means you have not set up a proper .htaccess file on that private server.

I'm wondering if you know of any settings I need to configure to get it working

Not sure you're asking about configuring sh404SEF or configuring your web server. There's no need to configure sh404SEF - or Joomla for that matter, the problem is a web server configuration, namely the missing or misconfigured .htaccess file.

I can't really help you with the content of the file as it depends on your specific server installation and configuration, but usually starting with Joomla default .htaccess is fine. Joomla has a detailed documentation page on how to do this and a step by step description of the process.

You can actually disable sh404SEF while doing the server setup (set "Enable URL optimization" to "No"), to have less moving parts. Once you have the server URL rewriting working with Joomla SEF URLs, you can enable back sh404SEF and it will work just lke Joomla - because URL rewriting is done by the web server, not by or inside of Joomla.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Tuesday, 06 April 2021 11:11 UTC
Memphismark

Yes, I am getting a 404 error when using the SEO url generated by your software on my sandbox (private) server. If I use the Joomla URL it works. Your SEO url works on my production server (that everyone uses).

To install my websites on my sandbox, I use Akeeba Backup to make a backup of my production server, then upload it to the sandbox, so the .htaccess file is the same. This is how I know the problem lies in my sandbox server configuration and not in your software, or Joomla, or the .htaccess file. I'm hoping you might know what php/SQL/Apache settings I might be missing/wrong. Or at least point me in a particular direction.

Thank you.

 
Tuesday, 06 April 2021 11:54 UTC
wb_weeblr

Hi

 If I use the Joomla URL it works.

With URL rewriting on? Your screenshot would indicate the opposite, this really is a server error screen, not a Joomla one. This means there's nothing that can be done in Joomla or sh404SEF, the problem occurs earlier, at web server level (PHP and MYSQL are not related either)

Can double-check that with Joomla Global configuration set to "Use URL rewriting", you can access all pages?

so the .htaccess file is the same.

That's likely the problem. .htaccess file is per server. Its content depends on how the server was configured. Usually, carrying along the .htaccess from one server to another will not work.

Once you've confirmed whether SEF URL with URL rewriting enabled works or not, we can decide what to do next.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Friday, 07 May 2021 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.