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
-
Why Product pages are throwing Missing field "image" and Missing field "price" in Wordpress Woocommerce
I have a wordpress wocommerce website where I have uploaded 100s of products but it's giving me error in GSC under merchant listing tab. When I tested it show missing field image and missing field price. I have done everything according to https://developers.google.com/search/docs/appearance/structured-data/product#merchant-listing-experiences and applied fixed i.e. images are 800x800 and price range is also there. What else can be done here?!merchant listing.jpg
Technical SEO | | Ravi_Rana0 -
I'm struggling to understand (and fix) why I'm getting a 404 error. The URL includes this "%5Bnull%20id=43484%5D" but I cannot find that anywhere in the referring URL. Does anyone know why please? Thanks
Can you help with how to fix this 404 error please? It appears that I have a redirect from one page to the other, although the referring page URL works, but it appears to be linking to another URL with this code at the end of the the URL - %5Bnull%20id=43484%5D that I'm struggling to find and fix. Thanks
Technical SEO | | Nichole.wynter20200 -
404 Errors for Form Generated Pages - No index, no follow or 301 redirect
Hi there I wonder if someone can help me out and provide the best solution for a problem with form generated pages. I have blocked the search results pages from being indexed by using the 'no index' tag, and I wondered if I should take this approach for the following pages. I have seen a huge increase in 404 errors since the new site structure and forms being filled in. This is because every time a form is filled in, this generates a new page, which only Google Search Console is reporting as a 404. Whilst some 404's can be explained and resolved, I wondered what is best to prevent Google from crawling these pages, like this: mydomain.com/webapp/wcs/stores/servlet/TopCategoriesDisplay?langId=-1&storeId=90&catalogId=1008&homePage=Y Implement 301 redirect using rules, which will mean that all these pages will redirect to the homepage. Whilst in theory this will protect any linked to pages, it does not resolve this issue of why GSC is recording as 404's in the first place. Also could come across to Google as 100,000+ redirected links, which might look spammy. Place No index tag on these pages too, so they will not get picked up, in the same way the search result pages are not being indexed. Block in robots - this will prevent any 'result' pages being crawled, which will improve the crawl time currently being taken up. However, I'm not entirely sure if the block will be possible? I would need to block anything after the domain/webapp/wcs/stores/servlet/TopCategoriesDisplay?. Hopefully this is possible? The no index tag will take time to set up, as needs to be scheduled in with development team, but the robots.txt will be an quicker fix as this can be done in GSC. I really appreciate any feedback on this one. Many thanks
Technical SEO | | Ric_McHale0 -
60,000 404 errors
Do 404 errors on a large scale really matter? I'm just aware that I now have over 60,000 and was wondering if the community think that I should address them by putting 301 redirects in place. Thanks
Technical SEO | | the-gate-films0 -
OMG!! 1300 404 Errors. HELP ME!!!
Day by day google detecting 404 errors urls. Currently it is cross 1340 urls. Please help me to get out of this shit. You can check the screenshot here You can see the screenshot here- http://img856.imageshack.us/img856/429/954b503e0781462c8a15774.png Please check the website - www.plugnbuy.com Kindly help me. I use nofollow tag but still don't know why google detecting those errors.
Technical SEO | | chandubaba1 -
Page Rank 7 - Domain Authority of 6 (How does this happen)
Iv never seen this before, but what do you guys make of this? http://www.becitywise.com/ According to Google, its a PR7 website. SEOMOZ are reporting a DA of 6 (1 link to the domain) http://www.prchecker.info/check_page_rank.php Any thoughts as to how or why Google have assigned such a high PR? According to Whois, the domain was registered on 16/07/12 so its brand new... The funny thing is, many people purchase links based on the Page Rank, so this guy must be making a fortune. (the Friends links I assume are all paid links) Greg
Technical SEO | | AndreVanKets0 -
Which do you believe & why? Wordpress posts or pages?
I hear a lot of conflicting opinions regarding when to use pages over posts. If you were using wordpress mainly as a static site and less of a blog would you use pages over posts? Let's say it is a yacht review site. Would you set up most of the content (boat review pages) as pages or posts? I hear some say in that case you would want to use mostly pages and use posts for news related items. Then there are others that suggest only making the few (contact, about, privacy, terms) as pages and everything else created as posts organized into categories. Any thoughts? Also, is there a tool to find out if a website that is not yours is using a page or a post? Thanks
Technical SEO | | PEnterprises0