• Home
  • Get help
  • Ask a question
Last post 6 hours 36 min ago
Posts last week 81
Average response time last week 4 hours 29 min
All time posts 67915
All time tickets 10498
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.

#2725 – Ignore 404 errors?

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, 18 September 2016 15:05 UTC
Memphismark
 One of my websites generates about 160 404 errors a week. Over 100 of them are generated by automated web crawlers. These 100 404 errors are for either images (specific files ending in .jpr/.png, etc.) which I set my .htaccess file to prevent hotlinking, or an href telephone link ( a href="tel:999-999-9999">Call us by clicking here!).

Is there a way I can set these to automatically be ignored?

Thank you!
 
Monday, 19 September 2016 07:06 UTC
wb_weeblr
Hi

If 404s are registered in sh404SEF, it means they reach Joomla. It therefor means that your .htaccess is NOT blocking them. If you use your .htaccess to block them, then you should look at the code again and fix it (please provide one full example URL of such case, so I can check).

Rgds
 
Monday, 19 September 2016 07:07 UTC
wb_weeblr
Hi Again,

I assume you also use your .htaccess to block the tel: links? if not, you probably should, that's by far the best way to do it.

Another question would be: where are those tel: links coming from? just random external requests, or somewhere on your site?

Rgds
 
Monday, 19 September 2016 14:09 UTC
Memphismark
The Tel links are part of the website. If a user on a mobile phone selects that link, the phone OS brings up a dialog: "Do you wish to call this number?" and if they say yes, it calls the company main line. If a tablet, desktop or webcrawler selects that link, they will get either a dialog box asking what to open that link in, or to send a message.

The images I am getting 404 errors on are part of the site. I'm not surprised that they are getting 404'd.

What I am looking for is a way or something I can set up so I don't have to delete these same 100 or so entries every week. I want a checkbox or an option that means, "Don't show or record this URL as a 404 any longer." I can't send them to the 404 page, and you removed any way to link to an external URL in your last version.

 
Monday, 19 September 2016 14:19 UTC
wb_weeblr
Hi

1 - images:
I can't send them to the 404 page, and you removed any way to link to an external URL in your last version.
THis is what I don't understand. Why don't you just trigger a 404 from your .htacces? if they are images, just trigger a 404 directly, there is no need to send the request to Joomla, that's a big waste of resource (and on top, you indeed have to clear them up from the 404 log)

2 - Telephone: so why do you get 404s on those links then? under which situation? and why don't you trigger a 404 in your .htaccess from them?

3 -
What I am looking for is a way or something I can set up so I don't have to delete these same 100 or so entries every week. I want a checkbox or an option that means,
I We have nothing like that. You should prevent those 404s to happen.

Rgds
 
Tuesday, 20 September 2016 23:41 UTC
Memphismark
These screencaps are what I see. In 404 report screen 1, the top three are representative of what I get from the tel links. Every one of my pages (50+) has this telephone link at the top, so I get 50+ lines like these three every week when I clear out the 404 report. 404 report screen 1a is what shows when I open it.

404 report screen 2 shows one page of graphics of the 50+ images scattered throughout the website. I get all of these every week when I clear out the 404 report.

I am enclosing the .htaccess (aovs.htaccess) file for this site.

I am enclosing a screenshot of the TEL code (TEL code) so it doesn't get distorted by a test interpreter.

I apologize that I am not adequately explaining what is going on. I don't want to have to delete these line items week after week after week. Please make it do I can ignore them or they don't show up at all.
 
Tuesday, 20 September 2016 23:42 UTC
Memphismark
Sorry, here is the htaccess file
 
Wednesday, 21 September 2016 07:50 UTC
wb_weeblr
Hi

1 - We cannot provide support for the content of your .htaccess, as this is related to your server config and your requirements, and not to sh404SEF.

2 -
404 report screen 2 shows one page of graphics of the 50+ images scattered throughout the website. I get all of these every week when I clear out the 404 report.
Those are regular 404 pages. They totally look like relative links (ie they should be absolute, relative links indeed generates 404).
As they are not marked as "Internal", it means they are requests from external crawlers or bookmarks (though that's not 100% sure, as referrer indication is not entirely reliable). You can click on the "Details" link to get a bit more information, notably referrer if any, and IP address of the requester. That might give you some information as to where those are coming from, and then maybe fix them.

3 -
I don't want to have to delete these line items week after week after week. Please make it do I can ignore them or they don't show up at all.
I don't see anything within the realm of sh404SEF that could do anything like that. Our purpose is exactly the opposite: record all 404 and make them available. We have no features similar to that and don't plan on adding any such thing.

I see 2 ways of improving your situation with respect to this problem:

A - use your .htaccess file to block those images, so that they don't reach Joomla (and in turn be recorded by sh404SEF).
which I set my .htaccess file to prevent hotlinking
if so, this is not working: those images are not blocked by your .htaccess, they do reach your Joomla site.

B - Just forget about it: let them be there, and once in a while purge 404 records.

4 - Tel: links. Your 404_report_screen_1 helped me understand better. Those tel: links are not recognized by some browsers, or the browsers of some visitors do not have an associated app to open tel: links on desktop, and so the browser just send the link to the Joomla sites, which of course trigger a 404, as it should. Another possibility is also crawlsers (not Google or Bing, but smaller crawlers). If you google for that problem, you'll find many people with it. Solutions are usually to not show the link when on desktop, but instead the raw number, as text .

Rgds

 
Thursday, 22 September 2016 11:51 UTC
Memphismark
How would I set my htaccess file to prevent the images from Joomla?

They are all integral to the site. Hotlinking means no one external site can use my images in their site by using my link in their website.

The person who dictates the form and function of this website wants mobile users to have this feature.

Am I the only one who has this concern? Surely not. However, if you have no intent of adding an ignore feature, I'll have to delete these links every week until I find another solution.
 
Thursday, 22 September 2016 12:59 UTC
wb_weeblr
Hi

How would I set my htaccess file to prevent the images from Joomla?
We cannot provide support for setting up your web server, that's not related to sh404SEF. Tools like Akeeba Admin Tools helps you do that, I believe, by writing some rules in your .htaccess file, if you can't configure them manually.

They are all integral to the site. Hotlinking means no one external site can use my images in their site by using my link in their website.
I'm pretty familiar with what hotlinking means.

I'll have to delete these links every week until I find another solution.
Euh, no. This has to be done in an .htaccess file, as suggested multiple times already. This is normal procedure in a web site maintenance, and as mentioned already a couple of times, is not unrelated to sh404SEF.

The person who dictates the form and function of this website wants mobile users to have this feature.
Well yes, this is what I said:
Solutions are usually to not show the link when on desktop, but instead the raw number, as text .

You leave them visible on mobile, and hide them on desktop.

Rgds
 
Friday, 07 October 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.