• Home
  • Get help
  • Ask a question
Last post 2 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67795
All time tickets 10476
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.

#7268 – URL Structure Completely Changes

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.
Monday, 22 June 2020 06:43 UTC
ulysses
We installed sh404; however, by doing so it has completely changed a lot of the current url structure..
For instance, url's that should link to "/forum/recent" now link to "/forum/resolved".

We have even have url's that wouldn't be 404 now being directed or called out as 404 redirected; like "forum/categories"; which when sh404 is not enabled works perfectly.. But when enabled, it pulls out a 404 error code..

Please help.. thanks

Here's a quick video..
https://drive.google.com/file/d/1a0UH2hwP8s41EWhFM35RYb5wLD93MNKm/view?usp=sharing
 
Monday, 22 June 2020 08:18 UTC
wb_weeblr
Hi

We installed sh404; however, by doing so it has completely changed a lot of the current url structure..
Yes, it is one of sh404SEF purpose to do that. It's a general SEO extension but when it comes to URLs, it tries to prevent the duplicate content common with Joomla by using URLs that do not depend on menu items. Therefore some or all URLs may be different after installing sh404SEF.

There are 2 approaches here:

- you keep the sh404SEF generated URLs. If your site is already well indexed and ranking, you then need to create redirects from the old URLs to the new ones.

- or your configure sh404SEF to create URLs that are as close as possiblet to Joomla URLs. You do that by:

1. Go to sh404SEF "By component" tab
2 - For all components, in the 2nd column, select "Use router.php with menu item" instead of "Use sh404sef plugin if available":



3. Go to the SEF URL manager and Purge URLs.
4. Go to your home page and check the links.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Monday, 22 June 2020 11:16 UTC
ulysses
I decided to go with option #2.
And clicked "Use router.php with menu item" for all components.
Then did the save and purge, exactly as mentioned..

However, after implementing it still remains with same issue.

For instance; https://xxxx.com/forum/categories - 404, but prior to it worked...
Same thing with https://xxxx.com/forum/recent; which is no pulling a 404 error; where before it worked.

Both of these are actual menu items; so I am unsure where it would pull as a duplicate?

Would you like access to the website?

 
Monday, 22 June 2020 12:37 UTC
wb_weeblr
Hi

For instance; https://xxxx.com/forum/categories - 404, but prior to it worked...

Same thing with https://xxxx.com/forum/recent; which is no pulling a 404 error; where before it worked.


1 - What kind of URLs are those? which extension?
2 - What is the non-sef URL recorded for that URL in the SEF URL manager?

I can't do much as sh404SEF is likely disabled now.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Tuesday, 23 June 2020 06:13 UTC
ulysses
Hi Yannick,

Let me answer, the best I can..
Along with the answers, I went ahead and illustrated a 5-minute video running through the front & back-end issues.


1 - What kind of URLs are those? which extension?

The main components are two Stackideas (EasyDiscuss) & (EasySocial); along with iGuru (Joomlart - iJoomla).

2 - What is the non-sef URL recorded for that URL in the SEF URL manager?/quote]

They were eventually fixed somehow, not sure what happened, perhaps cookies, etc... But it works the way we did it..

The main thing is wondering if I shorted myself with doing it this way versus the first way; as I wish to use sh404 to the max of its abilities.



[quote]I can't do much as sh404SEF is likely disabled now.[

It's enabled... If you like you may check the backend
https://xxxx.com/administrator/
username: xxxx
password: xxxx

The next and final issue; aside from what I have seeing is that they are soooooo many urls..
As you can imagine that is quite a lot of url's, given what Joomla already does on the backburner.

Is there any way to expedite (speed-up) the process in making the best use of sh404.
i.e. canonical urls and much more?


 
Tuesday, 23 June 2020 07:50 UTC
wb_weeblr
Hi

They were eventually fixed somehow, not sure what happened, perhaps cookies, etc... But it works the way we did it..
OK, no, there's no magic here! If it "fixed itself" after a bit, it's simply that the URL were not created yet.

All the URLs on your site are not created instantly. What happens is if someone requests the home page, then all the URLs for the links on the home page are created. The someone click on one of those links, go to another page and then all the links on that second page are created and stored in the database. And so on.

That means if you try to directly load a page deep down in your site right after you install sh404SEF, because you know what it's URL should be, then you will get a 404 because that URL has not been created yet.
But after a while, as visitors and search engines crawl your site, all required URLs are created. This is what happened here I think.



The next and final issue; aside from what I have seeing is that they are soooooo many urls..

As you can imagine that is quite a lot of url's, given what Joomla already does on the backburner.
Not sure what you mean by "what Joomla already does..."?
I logged in and there were less than 125 URLs in the database, that's incredibly tiny, you'll get many, many more. And that's totally fine, expected and usual.

Is there any way to expedite (speed-up) the process in making the best use of sh404.

i.e. canonical urls and much more?
Aside from the URLs, default configuration are usually sane. You'll get OGP and Twitter cards enabled, auto-discovery of images for OGP tags (ie Facebook sharing), automatic meta description when none is present, basic set of structured data.

As for canonical, it's a tricky thing and sh404SEF will insert some but only when it's certain of correctly identifying the canonical URL. Currently, it means we automatically add a canonical on a single Joomla article page. For all other pages, we do not recommend adding a canonical unless a/ you have a specific issue to solve, which should be pretty rare with sh404SEF URL handling and b/ you know what you're doing!

Best regards

Yannick Gaultier
weeblr.com
@weeblr

 
Saturday, 27 June 2020 08:13 UTC
ulysses
Got it..
thanks
 
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.