• Home
  • Get help
  • Ask a question
Last post 49 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67687
All time tickets 10462
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.

#4367 – batch processing for gathered 404 urls ?

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.
Thursday, 30 November 2017 10:25 UTC
zaldiar
 Hello,

I'm looking for batch processing for gathered bad requests on my website but I can't find how to do this in sh404. I wish to do the same as the native Joomla redirect component wich is able, when you have a list of 404 bad urls displayed on screen, to select each one or all bad urls and redirect thoses to just one url of your choice (e.g. home page). This avoid to make redirection one by one.

How can I make that ?

Many Thanks !

Best ragrds

Zal

Joomla V.3.8.2 + Sh404 v.4.12.0.3715
 
Thursday, 30 November 2017 10:30 UTC
wb_weeblr
Hi

1 -
to select each one or all bad urls and redirect thoses to just one url of your choice (e.g. home page).
This is catastrophic from an SEO standpoint and you should absolutley never do that. A missing URL should have a 404, so that search engines can update their index.

2 - There is no facility in sh404SEF to batch redirect, precisely because of #1. We however have a SEO-friendly, very powerful redirection feature set, called "Aliases". It's called "alias" because an alias can be either a redirect or a canonical link. They are described in details on this page of the documentation. This is what you should use when changing a group of articles from one category to another, or otherwise changing your site content or structure.

In other cases, such as those nearly random 404s that you have on your screenshots, you should nothing as a 404 is the proper response for those URLs.

Rgds
 
Thursday, 30 November 2017 10:42 UTC
zaldiar
Hello,

Ok, thanks for your very fast reply.

But to be sure i'm understanding well, could specify if this is in this case, when you have e.g. :
- #1. http://www.xxxx.com/hack-attempt-01
- #2. http://www.xxxx.com/hack-attempt-01
- #3. http://www.xxxx.com/hack-attempt-01

=> So I would redirect thoses 3 urls to homepage to avoid 404 pages on next attempts on same urls. You mean it's better to let 404 pages ? Because we often read that 404 pages are bad for SEO.

Aliases : i'm gonna try it, thanks.

Thanks for help !
Zal
 
Thursday, 30 November 2017 10:54 UTC
wb_weeblr
Hi

=> So I would redirect thoses 3 urls to homepage to avoid 404 pages on next attempts on same urls.
That's the point. This is an exact example (hack attempts) where you should never, ever redirect. A 404 is the response you must give to hack attempts, it's the most efficient (you are wasting your server power for reach redirect, it has to load Joomla and most of your site to do that redirect) and secure thing to do.

You mean it's better to let 404 pages ?
yes, totally, 150%.

Because we often read that 404 pages are bad for SEO.
That's just totally wrong. 404 are good for search engines, they ask for that: any non-existing page should give a 404.

You should redirect only:

- when you change an article URL
- you change articles from category to another
- you change your URL structure

So you should redirect when the content still exists, but you moved it to some other address for whatever reason. You can also redirect in some cases not for SEO but for your visitors: for instance, you have a well indexed page to an article or a product, and you stopped making this product, but you want them to go to another similar product, or a page that explains something about this product.

Rgds
 
Thursday, 30 November 2017 11:04 UTC
zaldiar
Hello,

Ok, thanks for your very fast reply.

But to be sure i'm understanding well, could specify if this is in this case, when you have e.g. :
- #1. http://www.xxxx.com/hack-attempt-01
- #2. http://www.xxxx.com/hack-attempt-01
- #3. http://www.xxxx.com/hack-attempt-01

=> So I would redirect thoses 3 urls to homepage to avoid 404 pages on next attempts on same urls. You mean it's better to let 404 pages ? Because we often read that 404 pages are bad for SEO.

Aliases : i'm gonna try it, thanks.

Thanks for help !
Zal
 
Thursday, 30 November 2017 11:05 UTC
zaldiar
Ok, many thanks for thoses very clear explanations.

Best regards,

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