URL 404 errors after crawl? HELP!
-
I am getting Crawl errors. It shows multiple pages as. I know this is more of a technical question however, I cannot find the answer anywhere. I'm using wordpress
www.mydomain.com/title-of-page/mydomain.com/contact
WHAT IS THIS?!
-
Dan...
You may just be the man! It ended up being a widget created specifically for the theme, that didn't have the absolute path to the contact page. It was very simple to fix. Thank you
-Christine
-
Christine
Thanks for providing the site name to me via PM - won't reveal the site here, but I see the issue.
The contact link in your footer should always lead to the contact page;
However, it is adding the subfolders of whatever directory you are in. If you are on the page
it is linking to;
In which, of course, no contact page exists at that URL.
You need to find where the footer links are being created in your WordPress setup - options are;
- Could be in the theme settings
- Could be in a widget
- Could be "hardcoded" into the footer.php file (although I doubt it)
And see if you can enter the link to the contact page just as an absolute link (not a relative link) explanation on this page
In other words, you want the link in your footer to ALWAYS point at http://www.yourdomain.com/contact/
If this does not fix it, you may need to go into the "editor" and find the footer links in the footer.php file - where you can change the link to reflect the absolute path of the contact page.
If still at a loss, contact the help folks for your WordPress theme, cause this sounds like a theme issue if the mistake isn't on your end, this definitely has nothing to do with Yoast.
Hope that helps!
-Dan
-
Christine
Can you tell us (or me via PM) the site? The Yoast plugin is bulletproof unless something else is messing with it. I won't reveal the site if you don't want me to, but will post an answer back here in the Q&A.
Thanks!
-Dan
-
Thanks Dan, I just ran that program (which was awesome) and yes i am still having errors. Im using a plug in by Yoast called Wordpress SEO plugin. Im still encountering the errors. Im thinking i need to disable the plugin all together.
So.... Not sure how to fix it. Do i redirect the bad URLS somewhere? (even thought they dont even technically exist?)
Any help is appreciated. thanks
-
Hi Christine
Just checking in here - are you still having trouble?
I would advise running the site through Screaming Frog and checking Webmaster Tools for the presence of the same crawl errors.
Screaming Frog should tell you if/where you currently have bad links on the site. Always good to double check with another tool.
Let us know, thanks!
-
screen share?
-
I am using a plugin SEO by Yoast, i checked the structure in place, seems ok to me.
when i visit the pages, the error doesn't come up. only when the pages are indexed in crawled do i get those errors.
So I dont know where it is finding those links.
-
You simply forgot to put http:// before mydomain.com/contact
-
Also, if you want to PM me your login details I'll be glad to take a look.
You can check my tested eLance scores at atlantamedia.elance.com.... just so you know I won't mess anything up
-
Hi Christine,
This looks like some kind of misconfiguration in Wordpress that's probably being caused by your permalink structure. If you've installed any plugins lately that change your permalinks, try deactivating them and see if the problem remains.
Looks to me like the permalink structure or template is just repeating itself, so instead of going to yoursite.com/page it's going to yoursite.com/page/yoursite.com/page.
Should be an easy fix if you find the offending plugin or setting.
It could also be caused if you have manually linked to certain pages, and then changed your permalink structure, making the links that were correct before the change now point to pages that don't exist.
If you're site is working fine and you can't find the links pointing to the 404 pages, you can use Google Webmaster Tool's URL removal to stop them from being indexed, or add them to your robots.txt file via the Disallow command.
Hope this helps!
Anthony
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
-
Strange URL resulting a page
Hi, my friend has asked me to take a look at his site. I only know the basics of SEO so I'm learning along the way. He has some duplicate title errors showing in Moz, resulting to this page: https://www.domainname.com/about/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers/money-transfers This URL shows the 'About' page. I have tonnes of pages like this showing with really long URLs that result an actual page. Has anyone seen something like this before? I don't have a clue how this is showing the about page Any advice is greatly appreciated. Thanks James
On-Page Optimization | | Craze_Media0 -
Website server errors
I launched a new website at www.cheaptubes.com and had recovered my search engine rankings as well after penguin & panda devestation. I'm was continuing to improve the site Sept 26th by adding caching of images and W3 cache but moz analytics is now saying I went from 288 medium issues to over 600 and i see the warning "45% of site pages served 302 redirects during the last crawl". I'm not sure how to fix this? I'm on WP using Yoast SEO so all the 301's I did are 301's not 302's. I do have SSL, could it be Http vs Https? I've asked this question before and two very nice people replied with suggestions which I tried to implement but couldn't, i got the WP white screen of death several times. They suggested the code below. Does anyone know how to implement this code or some other way to reduce the errors I'm getting? I've asked this at stackoverflow with no responses. "you have a lot of http & https issues so you should fix these with a bit of .htaccess code, as below. RewriteEngine On
On-Page Optimization | | cheaptubes
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L] You also have some non-www to www issues. You can fix these in .htaccess at the same time... RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] You should find this fixes a lot of your issues. Also check in your Wordpress general settings that the site is set to www.cheaptubes.com for both instances." When I tried to do as they suggested it gave me an internal server error. Please see the code below from .htaccess and the server error. I took it out for now. BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^.$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.)$ http://www.%{HTTP_HOST}/$1 [R=301,L]</ifmodule> END WordPress Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.0 -
How to fix this URL?
Moz crawl test only show one URL indexed for the website - http://ravisharrma.com/ Site:http://ravisharrma.com/ shows 3 URLs and how to fix URLs for the website?
On-Page Optimization | | Dan_Brown10 -
Too Many On-Page Links, Can You HELP???
This is the best architecture I found to help my visitors find there furnace filter size. Does it hurt my SEO? Index page has, 210 links and most other pages has, 190 links. Thank you, BigBlaze
On-Page Optimization | | BigBlaze2050 -
Blog URL
I know that this question has been asked in the past, and that website.com/blog is better for seo purposes than blog.website.com. We want to setup a custom blog on our site, using Wordpress. Our designers/host are telling us that buy using website.com/blog can causes issues b/c Wordpress is open source, and our site could be hacked? Is there anything we should do about this? Any suggestions? Any Advice appreciated!!! Thanks!
On-Page Optimization | | TP_Marketing0 -
How long after a URL starts showing a 404 does Google stop crawling?
Before hiring me to do SEO, a client re-launched their site and did not 301 the old URLs to the new. Only the home page URL stayed the same. For a month after the re-launch, the old URLs returned a 404. For the next month, all 404 pages (basically any non-existent URL) were 301'd to the home page. Finally, 2 months after launching, they properly 301'd the old URLs to the new. Now, the new URLs are not ranking well. I assume it's too late to realize any benefit from the 301's, just checking to see if anybody has any insight into how long Google keeps trying to crawl old/404/improperly 301'd URLs. Thanks!
On-Page Optimization | | AndrewMiller0 -
Keywords in URL:
what kind of URL should we use? www.keyword.net/keyword-city or www.keyword.net/city which URL you would prefer?
On-Page Optimization | | alibeef0 -
URL question
Hi guys, the pro campaign thing you got going is wicked, love it. I'm recieving good results with my keywords and have noticed that categories that go beyond sub/sub/sub don't do to well. So I wanna move those that do one step up which makes it go from: http://spytunes.com/practice-guitar/advanced-routine/scales/aeolian to here http://spytunes.com/practice-guitar/advanced-routine/aeolian The existing menu system that follow all these categories across the site will soon go so it won't be a user friendly problem, I will have other type of menus. But, and here is the question: Would I greatly benefit from taking the non existent menu away and just go for: http://spytunes.com/practice-guitar/aeolian while i'm at it? Or do I stick with my current structure? I guess my real question is; how much is there to flat URLs? Cheers -dan lundholm spytunes.com
On-Page Optimization | | spytunes0