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
-
Will page be marked as 404 if you replace country specific letters from url?
What I'm reffering to is replacement of Polish characters from i.e "ł" to "l" or "ę" to "e". I believe it relates same way as other similar Slavic languages.
On-Page Optimization | | Optimal_Strategies0 -
Using the Same Word in Every URL
Just looking to get some opinions on this. Some coupon sites use "coupon" in all of their URLs - this is a practice I would avoid, as to me it is a little spammy. For example:
On-Page Optimization | | vanessakohl
.com/amazon-coupons/
.com/ebay-coupons/
.com/walmart-coupons/
... and so on for thousands of other brands. I don't think this is necessary, as Google will understand from the content, backlinks and the domain name (including the word "coupon") that brand pages are coupon-focused. Any other thoughts on this?0 -
Will changing a URL negatively affect ranking?
Hello Mozzers, We would like to change the URL for a page on our website which ranks well for some our keyphrases/words. We are hoping the change of URL, through the addition of an additional keyword would help boost the rank of that URL further. At the moment out page gets 2 x A and 2 x B 1xF on the MOZ page rank tool using 5 keyphrase/word variations . One phrase ranks 4, one ranks 3 and the other 3 are 'not in the top 50' Our plan was to change the URL, using SHF404, and use 'Fetch' in the Google search console to re-submit the page to Google. Appreciate you can't give any guarantees how Google will behave, just wondered what your thoughts were on the wisdom of changing the URL in the first place? Thanks Ian
On-Page Optimization | | Substance-create0 -
Backlink URL: With or Without WWW?
When it comes to backlinks. Does it matter with or without WWW? For example my website is without WWW and I backlink with WWW, will it still affect my website rank?
On-Page Optimization | | Japracool0 -
Removing old URLs from Google
We rebuilt a site about a year ago on a new platform however Google is still indexing URL's from the old site that we have no control over. We had hoped that time would have 'cleaned' these out but they are still being flagged in HTML improvements in GWT. Is there anything we can do to effect these 'external' dropping out of the indexing given that they are still being picked up after a year.
On-Page Optimization | | Switch_Digital0 -
Moving our current homepage to a new URL
Our homepage currently speaks to a specific product and we're re-doing our homepage to be more about the brand which links to the product. The current home page has PA of 62 with thousands of links to the page. Question is are there any best practices around this or any risks? So current page is: www.xyz.com which we will be refreshing then moving the existing content to www.xyz.com/product so all the subdirectories gets shifted over 1 Thank in advance for the help!
On-Page Optimization | | JoeLin0 -
URL for location pages
Hello all We would like to create clean, easy URLs for our large list of Location pages. If there are a few URLs for each of the pages, am I right when I'm saying we would like this to be the canonical? Right now we would like the URL to be: For example
On-Page Optimization | | Ferguson
Domain.com/locations/Columbus I have found some instances where there might be 2,3 or more locations in the same city,zip. My conclusion for these would be: adding their Branch id's on to the URL
Domain.com/locations/Columbus/0304 Is this an okay approach? We are unsure if the URL should have city,State,zip for SEO purposes?
The pages will have all of this info in it's content
BUT what would be best for SEO and ranking for a given location? Thank you for any info!0 -
New bookingsengine url, what would you do?
A client of mine is introducing a new and improved bookingsengine. They're launching it on a different url than the existing one. The existing one needs to stay online a little bit longer for affiliate purposes. The old engine url has a sitelink in the SERPS and ranks well on a few terms. I'm wondering what you would do in this case? They want the new url to rank as quickly as possible also as sitelink of course. Any help greatly appreciated. I have some thoughts of my own of course... 🙂 But to keep the discussion as wide as possible... I'll wait a bit to add m thoughts.
On-Page Optimization | | YannickVeys0