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
-
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 -
Https not sticking on competitor URL
One of our competitors uses Https:// on thier search results and when we add and save it, it removes the s - we know their site ranks on specific keywords, we know this from manually searching before we got moz but moz is not showing them because it is looking for http:// not https:// How can i fix this. Also - when we first set it up, we did not add the www. and our analytics are setup as such so we show no traffic on our dashboard, but it wont let me edit to change it. Thanks
Getting Started | | HansSchlamadinger
Tom1 -
'not a valid url' error in campaign set up
I get the error not a valid url when I'm trying to set up a campaign. I know it's a valid url. I have tried with www, non-www, http://, https:// when I do the https it lets me start, but then I get an error that https is forwarding to http and I need to use that. When I then put in the http, I get the original error. thanks in advance for your help.
Getting Started | | HighVoltage0 -
Report time periods & Domain Authority over time
Hello there. I am evaluating the Moz tools and I have two brief questions. What are the time periods (weekly, monthly, ..) that one can choose to compile reports? Is there a view to show Domain Authority over time? Thanks, Marco
Getting Started | | marcoparadis0 -
MozBar URL Flag shows wrong country
My site has been up for about 6 months, and is visible on google (http://www.forforce.com.br/). Even when searching for my exact brand name "For Force Suplementos", using google brazil from Curitiba (the stores physical city) I show up on page 3, so I'm obviously doing something wrong. I just today started looking into SEO. And we haven't done anything to earn a penalty. (There's no links actually anywhere but our facebook page to us, which I know is a problem I need to work on). Anyway, I just signed up for a MozPro subscription, and installed the MozBar. Looking at the On-Page elements, next to the URL, I see a U.S. flag, and am wondering if that is part of my problem. The site is physically hosted in the U.S., so maybe that's where the flag comes from (Quality) hosting is too expensive in Brazil). Is this something I should be worried about? I also am using CloudFlare to help speed up the site, which I don't think has a Brazil POP. Thanks in advance for any advice! -Eric
Getting Started | | ForForce0 -
Adding a campaign freezes in first step, any tips on how to resolve this issue?
I just subscribed to the 30 days trial and wanted to set up my first campaign, but it just doesn't work. I name the campaign, enter the URL and click Next >>. The page starts processing but even after 5 minutes waiting time, nothing happens. I just don't get through to the 2nd step. I already tried setting it up in Firefox, Chrome and Opera. It just won't work. 😕
Getting Started | | WindSolutions0 -
Adding Keywords to rank tracker
I have a rookie question. I started a campaign with the basic analytics package here. I have about 100 keywords I am attempting to paste into the box. I have done this a few times and have seen the "your keywords have been added message" but do not see the keywords below. Fast forward 12 hours still nothing, so I pasted in about 10 of the keywords (same format) and they took. I went to paste 10 more and nothing. What is the best practice for uploading bulk keywords? Also, will they appear only after the 24 hours to determine the rank?
Getting Started | | mm9161570