Domain added to the url
-
Hi,
I am having a problem with my Wordpress site http://www.food-and-garden. It seems the domain www.food-and-garden.com is added to the url, for example http://www.food-and-garden.com/recipe-items/blini-lumpfish-roe/www.food-and-garden.com
Right now I have 249 404 errors. That's a lot!
I found a Q&A similar to this, and as far as I understand, it has to do with relative links. I quess somewhere on my site there is href="www.food-and-garden.com" instead of href="http://www.food-and-garden.com"
My question is, how do I find the broken link?
Thank you!
-
Hey there,
This is Michael on the Moz Help Team! Sorry to hear about the trouble here. To see the source of those errors, you’ll need to export your full Crawl Diagnostics CSV, which you can do by clicking the "Email CSV" button at the bottom of the issues overview. Once the report generates, it will be emailed to you and you will want to open it up in something like Excel. In the first column, perform a search for the URL of the page you are looking for. When you find the correct row, look in the column labeled Referrer (column AM). This tells you the referral URL of the page where our crawlers first found the target URL. You can then visit this URL to find where we linked to that page.
Hope that helps!
-
You will need to open the CSV with a spreadsheet program (upload it to Google Docs). From there you can go to the referral column and it will tell you which page the error is linking from. You will then need to edit the place on the page where the error is occurring or find if you have a widget on the page that is throwing the error.
-
Hi, I did the site myself but I am very much a newbie to Wordpress (or any other kind of system). I have downloaded the CSV but don't know what to look for.
All I see is: http://www.food-and-garden.com/second-kitchen-garden/www.food-and-garden.com,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,404 : Received 404 (Not Found) error response for page.,1,0,0,0,,,,404,1,,76,,55,0,"",,http://www.food-and-garden.com/second-kitchen-garden/,"",Error attempting to request page
How do I go on from here?
Sorry about my poor English. I am Danish and not used to handling this kind of problem in English
-
Karin,
We had this same problem on our Wordpress site, it comes from improperly coded link on pages that had certain modules active (it was fixed by making the link absolute). You can use Moz's crawl diagnostic tool to email yourself a CSV then look for the errors and go across to the referral column to find which page has the erroneous link, from there you can edit your content to fix it.
-
Hi Ryan. It seems Xenu Link Sleuth only runs on Windows. But I am gonna try Screaming Frog and see if anything turns up. Thanks!
-
Hi Karin. Try out the crawl tool: Xenu Link Sleuth. It will show you broken links like these along with the page on which they're located.
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
-
Unsolved How do I test a single URL?
Hi,
Getting Started | | imranh70
I ran the crawler, and it found a few errors on the site. I have fixed these errors. I don't want to run the crawler against the entire site again. I just want to run the test against a single page. How can I do that?0 -
Using the free domain analysis tool - what would cause "Bummer no data found"
When I enter my domain in the free analysis tool, I get a "bummer, no data found". I am certain whatever is causing that to happen is causing other SEO problems https://academicanv.org
Getting Started | | verdet32323 -
New non-www. web address but the domain is the same
Hi Everyone, we're launching a new WP website that has a non-www. web address. Old address www.1to1therapy.ca, new address http://1to1therapy.ca. A re-direct has been created for the www. address. It appears that this is causing an issue for the Moz page crawler. It is currently only crawling 1 page. I will set up a new campaign. BUT As best practice should I set up all new google analytics on http://1to1therapy.ca? It appears that the analytics are functioning correctly, but I'm unsure if any issues may arise from the change.
Getting Started | | JayTurner0 -
New campaign - invalid URL
Hi, Invalid URL when I try to set up a new campaign. I'm trying http://www.rogerspictures.com Thanks, Paul
Getting Started | | rogerspictures0 -
In Open site explorer the page title and Url show in the left hand column. Why do some of my pages have no data for page title?
I am a first time user. Newly updated site using Drupal and having lots of SEO problems. Under site explorer, several pages list NO DATA for the page title. This doesn't seem right. Any suggestions on what this means?
Getting Started | | IV-Debbie0 -
Oops! This doesn't appear to be a valid URL. Please try again.
Hi everyone! Looking for a bit of help here. This message keeps popping up when I try to put in my url (www.qltyctrl.com). I've tried qltyctrl.com, www.qltyctrl.com, and http://www.qltyctrl.com and nothing works. Can someone help me out here?
Getting Started | | Nimble.Keith0 -
How to get moz to crawl a staging domain that is blocked by robots.txt
Is it possible to get Moz to do a crawl report on a domain blocked by robots.txt and actually display all errors instead of only one saying the domain was blocket in robots.txt? Anything i can add to robots.txt to make moz able to do the crawl report but still hinder google from crawling a staging domain?
Getting Started | | classifiedtech0 -
Remove false urls
Hi, we are using expressionengine as our CMS. Every url that gets tracked, which does not lead to a real page, gets directed to the home page. This gives us a lot of duplicate content. For every wrong link, we get +1 in duplicate content. Is there a way to list the false urls, so Moz does not use them anymore in the statistics, or that Google does not crawl them anymore? Where would be the best place to do this? All help appreciated,
Getting Started | | webnology
Michel0