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
-
Should I change my website urls?
We're translating our website in a few languages (FR / DE / JP) using subdirectories. So our website will have the following urls www.brand.com/en
On-Page Optimization | | dcalexandra
www.brand.com/fr
www.brand.com/de
www.brand.com/jp I would like to change the url structure of a few pages from www.brand.com/section/feature-name to www.brand.com/feature-name Is it a good idea to do this now since we're adding the subfolders and these are anyway new urls in google's eyes?0 -
Inventory Pages that are Sold, 404 vs 301?
I am working with a company that sells high-priced automobiles. Each Unit has its own URL We currently leave most sold inventory live on the site as it draws in many leads (the units are visually shown as sold, so it shouldn't be a UX issue in most cases). We are wanting to start pruning some old units (this is in WordPress - custom post type) and I'm not quite sure what the best solution for this site is with removed units. Some ideas: Remove the units pages that are no longer needed, resulting in any links 404'ing to a useful 404 page. Remove the units pages, and 301 them to the Homepage (I don't really want to do this, as it seems like really poor UX) Remove the units page, and 301 the user to a specific "This item has sold" page that is shared by all sold units, but may not be the sites full 404. another option I haven't thought of? I dont' want to do anything that would confuse or get search engines upset, and I'm not sure how bad 404's are, I see some info on how bad they are, some that say they aren't bad. I'm guessing it is as usual, some gray area in the middle.
On-Page Optimization | | Andy_Staple0 -
Replacing website, same URL, lose ranking
We had to do a rush job for a client and get a website up very quickly. We had to just replace the existing files on the server, but URL stayed the same. Now "teeth whitening glasgow" which they were number #1 for isn't coming up. Know there is still some on page work to be done - but the link profile should still remain the same? Just looking for some advice to get back to where they were - should we do a website change of address or just verify the site in Webmaster and get all the on page done? Thanks, Laura
On-Page Optimization | | lauratagdigital0 -
How to evaluate a 404
After my first site crawl im being told that there is a 404 error on my site..... It gives me the problem link url but would it not be useful to show me where its finding this 404 error? How do i find it? it just tells me there is one and the location of the 404 i need to know the page that has the link on it?
On-Page Optimization | | alphatrad0 -
Recommendation: Add a canonical URL tag referencing this URL to the header of the page.
Please clarify: In the page optimization tool, seomoz recommends using the canonical url tag on the unique page itself. Is it the same canonical url tag used when want juice to go to the original page? Although the canonical URL tag is generally thought of as a way to solve duplicate content problems, it can be extremely wise to use it on every (unique) page of a site to help prevent any query strings, session IDs, scraped versions, licensing deals or future developments to potentially create a secondary version and pull link juice or other metrics away from the original. We believe the canonical URL tag is a best practice to help prevent future problems, even if nothing is specifically duplicate/problematic today. Please give example.
On-Page Optimization | | AllIsWell0 -
Website pages missing from seomoz crawl
Hi! I just added a website and the crawling result output has only 42 pages but my website has about 75 pages. What am i missing? Thanks!
On-Page Optimization | | ovieira0 -
New Url Structure
Hey Guys We are working on a new site and in order to implement some of the new functions we need to restructure our url's , Will redirect everything correctly but I was looking for advice on the structure we need the word product / category subfolder for speed but would there be any benefit making them shorter ? what would you guys advise ? Category Current http://www.freestylextreme.com/uk/Home/Brands/DC-Shoe-Co-/default.aspx **New ** freestylextreme.com/uk/category/dc-shoe-co Product Current http://www.freestylextreme.com/uk/Home/Brands/DC-Shoe-Co-/Mens-DC-Shoe-Co-T-shirts/DC-Black-Unwind-T-Shirt---.aspx New freestylextreme.com/uk/product/dc-black-unwind-t-shirt
On-Page Optimization | | elbeno0 -
Does it matter if your URL ends in .net or .com?
Someone told me that having a URL that ends in .net (instead of .com) will hurt my site's SEO. Is that true?
On-Page Optimization | | matt-145670