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

#2902 – Non Existing links redirected to Articles

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.
Sunday, 30 October 2016 06:29 UTC
paulof
Hi,

I am having troule setting up the 404 page, and was hoppign you can help me.

This week I noticed that some bad links are redirected to articles instead of the 404 page.
An example of the later; https://xxxx.com/tag/50-tagdemo.html
It will reditrect you to an article, I noticed that the article ID is 50.

If we type https://xxxx.com/tag/51-tagdemo.html
It will load the article with the ID 51.

So for some reason, it just fecthes the article with the ID that matches the numbers in the URL and ignores everything else...

Am I overlooking some setting?

It would be awesome if you can take a look at my settings
 
Monday, 31 October 2016 09:12 UTC
wb_weeblr
Hi

So for some reason, it just fecthes the article with the ID that matches the numbers in the URL and ignores everything else...
This is what the Joomla router does (one big issue with it actually). sh404SEF actually does not do that.

If this happens on your site with sh404SEF enabled, it means that under the By components tab of sh404SEF configuration, you have selected Use Joomla router for at least one component. In doing so, you are now in effect using the Joomla router to decode the incoming request and have this issue happening.

If you can switch back to only using "User default handler", the problem will go away. If not, there's nothing that can be done about it, it's a problem of Joomla router itself.

Rgds
 
Thursday, 03 November 2016 04:39 UTC
paulof
Hi,


I had just one component using the Joomla router (was an 3rd party extension), I changed it to use SH404, now I have a different problem.
I I go to
http://xxxx.com/glytec/50-glucommander-subq.html

I only see (COM_TAGS), but the problem is, the tag does not exist anymore (I deleted it) and also delted the URL from SH404, however SH404 doesnt send the user to the 404 page, instead show the page above.


Can you take a look at my SH404 settings?
user: xxxx
password: xxxx


Important: If you delete all the URL in SH404 it will mess up the website.

Regards,
Paulo
 
Thursday, 03 November 2016 08:23 UTC
wb_weeblr
Hi

OK, I found the problem but have no good explanations for it. I had to take a backup of the site and install locally to inspect to figure out.

The problem appears because the URL is still in the database.


But it's the second and third duplicates (with a value of 1 and 2 in the "Rank" field) that have been left out, the main URL (rank = 0) has been deleted. I don't see how this can happen using sh404SEF feature, unless a major MYSQL error happened when you purged URLs or deleted that particular URL.

The only way this could happen for me is if you deleted the 50-glucommander-subq.html directly in the database, only deleting the first one but not the duplicates. Other that, I don't see.

Anyway, the solution is actually the same: delete those specific URLs from the database table directly. It's invalid and still exist but cannot be displayed in the URL manager because there is "Main" URL.

An alternative, without going to the database, is to:

- open sh404SEF config, under the Advanced tab
- Enable the Slow server display mode
- Save and go back to the URL manager
- search for 50-glucommander-subq.html
- you will now see them, and can delete them
- disable back the Slow server mode.

Important: If you delete all the URL in SH404 it will mess up the website.
What do you mean? deleting all URLs ("Purging") will remove all URLs, so that they are created again when the site is visited.

Rgds
 
Friday, 18 November 2016 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.