404 help
-
Hello all, firstly let me apologize if this is the wrong place to ask this question.
I have a site www.promptresponseaccidentmanagement.com which gets a 200ok when checked for crawl issues, however pages such as /whiplash-injury-compensation-claims.php , /road-traffic-accident-compensation-claims.php and quite a few more return a 404. That's fine (usually) as I can quite happily fix that most of the time. However if you actually go to those pages in your browser, or click through to them on any part of the site you will see that they are in fact not redirecting to a 404 and everything is fine!?
Any body got any ideas?
Best
H
-
Hi sorry for not replying earlier. I have finally sorted it. It appears that the wordpress PHP include tag at the top of a static pages cause 404 errors on HTTP header requests...I changed a bit of code and it sorted itself out.
thank you for taking the time to reply.
Best
Haydyn
-
Did you get this fixed, I get 200 response codes for the pages you mention, checking with http://web-sniffer.net/.
Otherwise, I'd suggest it is an issue in your .htaccess or server setup. Are you using any kind of caching on your PHP files?
-
ok, i have just done a test and renamed a .php file to a .html file and it comes up with a 200, is this a server issue?
-
Hi thanks for replying so quickly, I have my own dedicated server which I manage other domains on, they are all working ok, do you think it could be my .htaccess file or my robots.txt?
thanks
H
-
Even though the page does render correctly, it also returns a 404 http status code (which you can verify by the firefox add-on 'HTTPfox' for example). It seems something in your website or webserver is mis-configured which is causing this incorrect http status code (404 error) to be fired instead of the 'all good' code (200) it should be firing for these pages considering they are perfectly accessible.
Have you tried contacting your technical staff or webhost about this issue
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Link Spam from Competitor Help
A clients link profile is recently getting lots of spam links related to "abortion pills" and "does my husband cheat" I found a few of the sites that link, and it appears that there is some malicious code on the site injecting links at the top of the site. http://www.med-reporter.at/index.asp?men=Gesundheit&submen=Produkte&artid=1587&kategorie=&blockzl=3 Can anyone look at the link above and tell me what network or software is creating these links?
Technical SEO | | webbroi0 -
Help with duplicate title tags.
Hi Just going through Seomoz crawl diagnostics for one of my clients sites & see that the title tags for over 2,000 pages are the same due to the way there site software generates the titles using php, examples : **home page** = <title>Home - Trade prices,Next Day Delivery,Bulk Discounttitle> other page = <title>A0 Frames - Trade prices,Next Day Delivery,Bulk Discounttitle> So as you can see the page titles have the page name given to the beginning of the title which is fine as they have the keyword, then the text : Trade prices,Next Day Delivery,Bulk Discount Now if i take out the text : Trade prices,Next Day Delivery,Bulk Discount the home page is going to have just the word Home which is rubbish & the other pages will have the keyword which is better but not great, just wondered if any one has a better solution?.
Technical SEO | | askshopper0 -
Client error 404
I have got a lot (100+) of 404´s. I got more the last time, so I rearranged the whole site. I even changed it from .php to .html. I have went to the web hotel to delete all of the .php files from the main server. Still, I got after yesterdays crawl 404´s on my (deleted) .php sites. There is also other links that has an error, but aren't there. Maybe those pages were there before the sites remodelling, but I don't think so because .html sites is also affected. How can this be happening?
Technical SEO | | mato0 -
Buddy Press Nightmare Please Help
I had several pages that were in the top five spots on google and the only thing I changed on my site was adding buddypress so I can have a social community. I checked my campaign and realized I had 560 errors with duplicate content and my rankings dropped down passed 50 spots. Huge drop. I am taking buddypress down but does anyone know how to fix the duplicate content issue. 1. Do I just delete all the pages? 2. 301 redirect them to home? Any help would be amazing. Thanks
Technical SEO | | JasonRae0 -
Help with google adsense
Hi i wonder if anyone can help me with google adsense. I am having trouble making money with google adsense. I have been altering my pages to try and get better results with google adsense but nothing works. my traffic at the moment is about 3000 visitors a day but this should be doubled to around 6000 a day within the next two months. here is the layout of a typical page and i would be grateful for any advice on how to alter it to make money with google adsense http://www.in2town.co.uk/showbiz-gossip/rihanna-news/rihanna-shocks-fans-over-her-sexy-body-claims
Technical SEO | | ClaireH-1848860 -
Help with domain redirect advice please!
I run the website http://buildyourjacket.com. We have other domains as well, most importantly www.buildyourjacket.com and cvcsports.com. If you Google "letterman jackets" (our primary search term) cvcsports.com shows up as the first result (yay!). But that is not what we want. Until a few weeks ago, Google would show http://buildyourjacket.com as the domain for the first search result from "letterman jackets". But then a few weeks that changed. I don't know how that could have happened. There are two reasons why we want the domain http://buildyourjacket.com to be the one that shows up: 1) It's a better sounding/looking domain and 2) When it was showing up, Google also showed right below the domain another link of our that said "Build Your Own Jacket" which definitely helped us get more clicks. Can someone please help me and tell me what I should do? Thank you so much.
Technical SEO | | BrandonDoyle0 -
Should there be a canonical tag on my 404 error page?
In my crawl diagnostics, I notice some 4xx client errors. They are appearing for pages that no longer exist, so I'm not sure what the problem is. Shouldn't they just be dealt as 404's? Anyway, on closer inspection I noticed that my 404 error page contains a canonical tag which points to the missing page. Could this be the issue? Is it a good idea to remove the canonical tag from this error page? Thanks.
Technical SEO | | Leighm0 -
Is this 404 page indexed?
I have a URL that when searched for shows up in the Google index as the first result but does not have any title or description attached to it. When you click on the link it goes to a 404 page. Is it simply that Google is removing it from the index and is in some sort of transitional phase or could there be another reason.
Technical SEO | | bfinternet0