• Home
  • Get help
  • Ask a question
Last post 1 hour 13 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67875
All time tickets 10492
All time avg. posts per day 20

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.

#1504 – Turning Off Joomla's Global "Adds Suffix to URL"

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, 08 December 2015 22:12 UTC
JoeJoomla
Hi Yannick,

I hope all is well with you.

btw - I like the recent changes you have made to sh404SEF. Very nice.

I have a notification from sh404SEF, on a mature website that has used sh404SEF for a long time, that the settings in Joomla and sh404SEF are different in regards to adding a suffix to URL.

In the Joomla Global setting the site has "Adds Suffix to URL" set to yes.

In sh404SEF it is set to no.

In the early days of the website it was thought desirable to have .html at the end of the URL and now it is not.

If I change Joomla's (Joomla 3.4) global setting for "Adds Suffix to URL" to 'no' will all the previous URLs remain the same?

The reason for the question is that I need to know if I will have to do redirects for all the URLs on the site if the suffix '.html' is removed on the old URLs.

If they don't change then that is good, we just want the new URLs to not have the suffix.

Do I need to be concerned in the future if sh404SEF URLs are purged and rewritten?

Thanks,

Joe Sonne
Wednesday, 09 December 2015 09:35 UTC
wb_weeblr
Hi

sh404SEF only ever use its own "suffix" setting. The Joomla suffix setting is not used by sh404SEF in any way when sh404SEF builds URLs.

So I think currently your site URLs do NOT have suffixes?

The reason we have added this warning is to cover situations such as:

1 - some components have been set to "Use joomla router" in sh404SEF "By components" config
2 - Some poorly coded extensions don't follow the Joomla API to retrieve the value of this setting, and read it directly from the configuration.php file for instance (instead of getting it from the API, and thus use the sh404SEF provided one).
This can cause issue with those extensions not behaving properly, if the Joomla and sh404SEF do not match.

To answer your question more directly: unless some of your components are set to "Use Joomla router", changing the Joomla "Use URL rewriting setting" will not change your URLs in any way.

To change your current URLs, you would have to:
- change the sh404SEF setting
- purge the database, so that new URLs are created (otherwise, as long as URLs are in the database, they are not updated to reflect new settings).

Rgds

 
Wednesday, 09 December 2015 13:13 UTC
JoeJoomla
Thanks! That helps me understand it better.

Best regards,

Joe Sonne
Wednesday, 09 December 2015 13:15 UTC
wb_weeblr
Hi Joe,

Hope this is all clear now. Do you plan on travelling this (next) year? we've just decided to sponsor JDay UK, so I'll be there.

Cheers
 
Wednesday, 09 December 2015 16:28 UTC
JoeJoomla
Hi Yannick,

I am not going to be at the JoomlaDay UK.

I am hoping to make J and Beyond though.

Any chance you will be at that one?

Joe
Wednesday, 09 December 2015 16:38 UTC
wb_weeblr
Hi

Actually yes. This year I should attend both JAB and JWC. Happy to catch up there!

Cheers
 
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.