Error 404, Wordpress adds the domain automaticly to the end of the pages, WHY?
-
Hello guys,
I'm using wordpress and the Yoast to help me improve my SEO.
Everything went well except for today because "Moz" found 404 errors when scrolling the website saying showing the domain of my website at the end of 12 url.
For example :
www.domain.com/service-1/www.domain.com www.domain.com/contact-page/**www.domain.com **Do you have any idea where does that come from ?
Thanks
Alex
-
Thanks a lot men you are the best !
-
I have found the error.
At the bottom of the page at the left side of the screen you have a green link.
This link is pointing to http://www.comptavenir.fr/www.comptavenir.frYou should change this link from:
To the following:
Hope i helped. If i did please mark this as the correct answer
-
Yes I have google analtyics installed.
Thanks for your help.
I'm on google webmaster tools and they do find this error. They say they can't find :
http://www.comptavenir.fr/www.comptavenir.frIs it helpfull ?
-
Do you have Google Analytics installed?
If Google sees these 404 errors too you could look from which pages it finds these errors.
If you can find a page which links to http://domain.com/domain.com or something let me know and i'll inspect the page to see if i can find a problem there -
I did change the redirection 301 and put the things as you said.
But it does it even if I launch a new post, or a new page, it automaticly put the domain at the end.
Any ideas ?
Thanks a lot
-
Do you know where can I find this on Wordpress ?
Thanks a lot
-
Perhaps you did something to send people who end up on a 404 page back to the homepage and typed in 'www.domain.com' in the place where to want them to end up. You should type in '/' at these kind of plugins to go to the root domain.
-
Yep, I've seen this a lot.
My guess is somewhere on the site you linked in your site like this:
And you need to link it like this:
So you need to find all of those broken links and edit them to add the http://
(Note: if you use the broken links plugin, you should be able to do this fairly quickly.)
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
-
I have over 3000 4xx errors on my site for pages that don't exist! Please help!
Hello! I have a new blog that is only 1 month old and I already have over 3000 4xx errors which I've never had on my previous blogs. I ran a crawl on my site and it's showing as my social media links as being indexed as pages. For example, my blog post link is:
Technical SEO | | thebloggersi
https://www.thebloggersincentive.com/blogging/get-past-a-creative-block-in-blogging/
My site is then creating a link like the below:
https://www.thebloggersincentive.com/blogging/get-past-a-creative-block-in-blogging/twitter.com/aliciajthomps0n
But these are not real pages and I have no idea how they got created. I then paid someone to index the links because I was advised by Moz, but it's still not working. All the errors are the same, it's indexing my Twitter account and my Pinterest. Can someone please help, I'm really at a loss with it.
2f86c9fe-95b4-4df5-aeb4-73570881938c-image.png0 -
My 404 page is returning a 404
Hi there, Moz has highlighted that my 404 page is returning a 404... Looking at webmaster tools within crawl errors, it's the same story. The only big change on the website is that we recently moved to https for the entire site, so all pages have a 301 to the corresponding https page, including the old 404 http page. I don't know if that makes any difference? Any help or advice on how I reasolve this will be much appreciated. Thanks, Stuart
Technical SEO | | Stuart260 -
Titling Category Pages Like You Would a Blog Page?
So, with our 600 or so category pages, I was curious... on each of these category pages we show the top 12 products for that category. In trying to increase click through rate, I wonder if it would be prudent to use some of the strategies I see used for Blog posts with thee category pages. i.e. Instead of Category Name - Website Name How about: Top 12 Kitty Litters We Carry - View the Best and the Rest! Or something like that. And then in the description, I could put, "Number 8 made my jaw drop!!!" (Ok, kidding about that one...) But serious about the initial question... Thanks! Craig
Technical SEO | | TheCraig0 -
Pages Linking to Sites that Return 404 Error
We have just a few 404 errors on our site. Is there any way to figure out which pages are linking to the pages that create 404 errors? I would rather fix the links than create new 301 redirects. Thanks!
Technical SEO | | jsillay0 -
Redirecting old domain to new domain with wordpress
Hi all, I need to change domain name to a website published on wordpress. I'd think to make these steps: trasferring the website (files+db) to a new hosting space to redirect old site (www.oldsite.com) to the new one (www.newsite.com) using rewrite rules. With these steps I'd need to transfer and reinstall files and wordpress so I would like to discover if there's some less time expending procedure to consider. Thanks and ciao Bob
Technical SEO | | bobrock40 -
I have 404 errors but can't find where these links are?
The 4xx report had 0 errors, and then on the recent crawl it found over 200. They are all variations on real URLs e.g.: Real URL: http://www.bullseyeuk.com/10-up-deluxe-literature-holder.html 404 Error URL: http://www.bullseyeuk.com/10-up-deluxe-literature-holder.html �� None of them are linked to the root domain and I can't find where they are coming from. Any ideas? Thanks Jack
Technical SEO | | JackMurphy0 -
Does it really matter to set 301 redirect for not found error pages?
I've very simple question for not found error pages. Does it really require to set up 301 redirect for all not found error pages which detected in Google webmaster tools? Honestly, I don't want to set 301 redirect exclude externally connected pages. So, what will impact on ranking after follow this process?
Technical SEO | | CommercePundit0 -
301 redirecting some pages directly, and the rest to a single page
I've read through the Redirect guide here already but can't get this down in my .htaccess I want to redirect some pages specifically (/contactinfo.html to the new /contact.php) And I want all other pages (not all have equivalent pages on the new site) to redirect to my new (index.php) homepage. How can I set it up so that some specific pages redirect directly, and all others go to one page? I already have the specific oldpage.html -> newpage.php redirects in place, just need to figure out the broad one for everything else.
Technical SEO | | RyanWhitney150