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
-
Fixing Index Errors in the new Google Search Console - Help
Hi, So I have started using the new Search Console and for one of my clients, there are a few 'Index Coverage Errors'. In the old version you could simply, analyse, test and then mark any URLs as fixed - does anyone know if that is possible in the new version? There are options to validate errors but no 'mark as fixed' options. Do you need to validate the errors before you can fix them?
On-Page Optimization | | daniel-brooks0 -
Url lenght/depth - Short or specific?
Hi, I'm trying to decide the best structure for a directory my site offers (containing all the businesses working in the field) and I'm not sure whether to choose something shorter or being more specific. So, I have 3 variables: Type of business (I mean, specific sector) Region City And I'd like to give some strength to every one of it. So, the complete URL (the one I'd like to use) could be: www.mysite.com/sector/region/city/business-name What I was not sure about is...is that too deep? I mean, even thought I'd like to perfectly categorize them and give some strength to every sublevel, I'm not sure about having the business-name so "far" and so "deep". Thank you for your ideas!
On-Page Optimization | | Daniele_Carollo0 -
Help With Duplicated Content
Hi Moz Community, I am having some issue's with duplicated content, i recently removed the .html from all of our links and moz has reported it as being duplicated. I have been reading up about Canonicalization and would to verify some details, when using the canonical tag would it be placed in the /mywebpage.html or /mywebpage file? I am having a hard time to sort this out so any help from you SEO experts would be great 🙂 I have also updated my htaccess file with the following Thanks in advance
On-Page Optimization | | finelinewebsolutions0 -
Help Please! - Anchor Text in the Menu
Hi everyone, I am a SEOMOZ newbie and I have been learning about SEO for a while now whilst working on my site - lockcity.co.uk - I already understood the importance of anchor text but was amazed to learn how google only count the anchor text used in the first link (http://www.seomoz.org/learn-seo/anchor-text). My questions are - does this rule still apply? and if so do the menus really count as the first link? If I went on this approach, this would make my menus too long for e.g. on my 'Auto Locksmith' page, my targetted keywords are 'Auto Locksmith' but also the town keywords need to be included. I really thought I had this covered on the home page by making sure the anchor text and alt text were keyword relevant to the link, but looks like Ive been missing out on an opportunity. Our business is slightly complicated in that the 25 mile radius we cover includes 4 different regions - therefore I feel like I always have to get these keywords in as well to make sure we get traffic from our area. Thanks for any advice you can give!
On-Page Optimization | | LockCity0 -
Popup windows are coming up as 404 error in moz reports.
We have several links showing up as 404 errors because of the way our site is set up. I want to know if this is hurting our ranking because Google sees it as 404 errors or is it just something I can ignore because it works for the user? If it is hurting our quality and therefore our rankings, how can I correct it so that best practices are used? I have attached an image of the links and here is an example page --> http://www.sourcemedicalequipment.com/Perch-Polyurethane-Industrial-Stool-18-25-p/idst2.htm The links in the description section have anchor text "All 3 Choices" and result in a popup information page. If you cut and paste the URL's that they are redirecting to end in a 404 but if you use the link on the page it results in a popup information window. Hope I explained that well. Thanks for your help! wrEmQnwWQo
On-Page Optimization | | BenRWoodard0 -
Meta refresh - nojavascript url
seomox is telling me that I am getting a page that is not being indexed or crawled and since the crawl status code is 200 and there are no robots the meta-refresh url must be the problem. the meta refresh url is different than the on page report card url as it's the nojavascript url which my developer says should be ok. see his comments below. The is redirecting to http://mastermindtoys.com/store/nojavascript.html only in case if the JavaScript is disabled in the client browser. This is the right way to do it, I don’t understand why this might be a problem, otherwise MM has to implement Noscript pages that have a real content. I didn’t get what’s wrong about accessibility. The code 200 means it is accessible, and yes there is nothing to access if JavaScript is disabled on browser. I think there are no modern retail sites that would do any sensible business with the scripting disabled in browsers.The H1 is really present 2 times and second occurrence can be removed, though I highly doubt about importance of this change.Regarding duplicates – what URLs are considered duplicates? Can you please send me examples?I am not aware of canonical URL problem for MM site unless we consider old .asp links as duplicate links of the canonical product pages. I would appreciate if SEOMoz gave us an example what they mean.I suspect that the page is not getting indexed as a result of this or I'm just not getting a good score. Which is it?
On-Page Optimization | | mastermindtoys0 -
Is it worth changing urls with underscores?
A few pages on one of my sites have underscores linking keywords rather than hyphens (keywords_and_keyword rather than keyword-and-keyword). Possibly from a time before I knew hyphens were preferred... One of the pages ranks well, and drives a good amount of traffic. The others do not do so well, but are still within the top 10 landing pages for the site. Is it worth me changing the underscores to hyphens (setting up 301 redirects first of course) or doesn't it make that much difference?
On-Page Optimization | | Jingo010 -
Redirecting to a keyword-rich domain URL
It's best practice to choose a domain that has keyword in it. But if someone has just launched a website and the domain name does not have keyword, is it better to purchase a new domain name that has a keyword in the name and redirect existing domain to the new domain? Will that help SEO? (This just launched website does not have any traffic or links yet.)
On-Page Optimization | | Amjath0