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.
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
-
HTTP or HTTPs for competitor URLs?
When setting up my competitors, should I use their http or https URLs? Thank you!
Getting Started | | Erik_Holm1 -
901 error code showing url back to back in crawl
Hi Everyone, I'm absolutely dumbfounded about this 901 issue (showing pages with our url back to back). Our site is hosted on Big Commerce: https://www.santabarbarachocolate.com When I look for these pages being crawled I don't find them. I've called BC for help and I can't seem to find a solution or where to turn as to how to fix the issue at hand or even if it matters. Please see below what the Moz crawl shows. Could this be related to Yotpo or some app we have running? Or does this even matter and does it have any influence on rank? Do you have recommendations or ideas? Thanks so much. Pages with Crawl Attempt Error as of Mar 3 URL Page Authority Linking Root Domains Status Code | Error Code 901: DNS Errors Prevented Crawler from Resolving Hostname http://www.santabarbarachocolate.comhttp/www.santabarbarachocolate.com/100-percent-pure-cacao-unsweetened-baking-chocolate -- -- 901 Error Code 901: DNS Errors Prevented Crawler from Resolving Hostname http://www.santabarbarachocolate.comhttp/www.santabarbarachocolate.com/buy-wholesale-bulk-chocolate -- -- 901 Error Code 901: DNS Errors Prevented Crawler from Resolving Hostname http://www.santabarbarachocolate.comhttp/www.santabarbarachocolate.com/organic-chocolate-wholesale | -- | -- | 901 |
Getting Started | | santabarbarachocolate0 -
Keyword "added after Fev 08, 2016"
Hello, I've added 4 keyword in a project, last thursday, but I have any result yet, it is written "added after Fev 08, 2016". What does it mean ? Thank you !
Getting Started | | Redactio0 -
What is 'domain authority'?
IN seomoz, it mentions domain authority but it doesnt define it. what does domain authority mean?
Getting Started | | torbett0 -
Improve Page Authority or Domain Authority
I am very confused as to the practical implementation of these 2 terms PA and DA. I have a website and i want to rank a particular page. So to rank it at the top, should i have more backlinks of page** or **more backlinks of my Homepage. Does more back links of a particular page improves only PA or (PA & DA) both ?
Getting Started | | himanshu22630 -
I added competitors website information. How quickly do I see results.. like links and keywords?
I am new to MOZ. Several days back I added competitors(3) to my analysis. When can I expect to see results/feedback? Thanks
Getting Started | | cchebaro0 -
Fixing Non-Valid URL - Oops! This does not appear to be a valid URL. Please try again.
Edit - Turns out I can't delete a question. I ended up finding out I'm supposed to email the Moz team at help@moz.com. I did a search regarding the issue, but I only found answers for people using AWS. The results say the .htaccess isn't setup correctly, but I don't know how to fix that file. Any help would be greatly appreciated. Thanks.
Getting Started | | MattHarris0 -
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