undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Intermediate & Advanced SEO
  4. Weird 404 URL Problem - domain name being placed at end of urls

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Weird 404 URL Problem - domain name being placed at end of urls

Intermediate & Advanced SEO
5
8
4.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • Jay328
    Jay328 last edited by Mar 27, 2014, 1:31 PM

    Hey there.

    For some reason when doing crawl tests I'm finding pages with the domain name being tacked on the end and causing 404 errors. 
    For example:  http://domainname.com/page-name/http://domainname.com

    This is happening to all pages, posts and even category type

    1. Site is in Wordpress
    2. Using Yoast SEO plugin

    Any suggestions?

    Thanks!

    1 Reply Last reply Reply Quote 0
    • Food-Garden
      Food-Garden @Jay328 last edited by Mar 11, 2015, 6:56 PM Mar 11, 2015, 6:56 PM

      Hey Jay,

      Can you tell me, how you found the incorrect html? I am having the exact same problem, as you did back then, but I don't know where to look. I am having two sites, both Wordpress and build over the same theme, but one has a lot of 404 errors according to Moz and Webmastertools. The other one doesn't.

      It's it driving me crazy!

      Thanks!

      1 Reply Last reply Reply Quote 0
      • topic:timeago_earlier,12 months
      • AndrewAtMGXCopy
        AndrewAtMGXCopy @Jay328 last edited by Mar 27, 2014, 9:12 PM Mar 27, 2014, 9:12 PM

        grats!

        1 Reply Last reply Reply Quote 0
        • Jay328
          Jay328 last edited by Mar 27, 2014, 9:07 PM Mar 27, 2014, 9:07 PM

          I found the main culprit!   There was a sitewide link in the footer that had incorrect html formatting.  Instead of http://domainname.com, it was incorrectly inserted as domainname.com.

          Thanks for the help!

          AndrewAtMGXCopy Food-Garden 2 Replies Last reply Mar 11, 2015, 6:56 PM Reply Quote 1
          • MikeRoberts
            MikeRoberts @Jay328 last edited by Mar 27, 2014, 3:45 PM Mar 27, 2014, 3:45 PM

            I had this problem in Wordpress about a year ago. In my case it was caused by links being entered into posts getting turned into relative links instead of being absolute links. Somehow this was causing the links to append the domain name to the end of the url. In our case it turned out to be an incompatibility between plugins. Have you tested all your plugins to see if any of them are interfering and causing this issue?

            1 Reply Last reply Reply Quote 0
            • KeriMorgret
              KeriMorgret @Jay328 last edited by Apr 10, 2014, 12:14 AM Mar 27, 2014, 3:17 PM

              It's often an internal link that's a bit screwed up that will cause this to happen. Look for a missing colon in http:, or something like that.

              1 Reply Last reply Reply Quote 1
              • Jay328
                Jay328 last edited by Mar 27, 2014, 1:56 PM Mar 27, 2014, 1:47 PM

                I've run the crawl tests in Screaming Frog and Moz. Webmaster tools is finding these errors as well.  The sitemap is clean and void of these URLS which is strange.

                Just to clarify- All the old urls are fine such as http://domainname.com/page-name .  They've all been duplicated with http://domainname.com/page-name/http://domainname

                KeriMorgret MikeRoberts 2 Replies Last reply Mar 27, 2014, 3:45 PM Reply Quote 0
                • AndrewAtMGXCopy
                  AndrewAtMGXCopy last edited by Mar 27, 2014, 1:41 PM Mar 27, 2014, 1:41 PM

                  Hey Jay —

                  Where're you doing these crawl tests? Does Google Webmaster and Moz both show these errors?

                  Also, is there a remote chance something is wrong in the sitemap.xml?

                  — Andrew

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 out of 8
                  • First post
                    1/8
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  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.

                  • See all categories

                  Related Questions

                  • Fulanito

                    Move domain to new domain, for how much time should I keep forwarding?

                    I'm not sure but my website looks like is not getting it's juice as supposed to be. As we already know, google preferred https sites and this is what happened to mine, it was been crawling as https but when the time came to move my domain to new domain, I used 301 or domain forwarding service, unfortunately they didn't have a way to forward from https to new https, they only had regular http to https, when users clicked to my old domain from google search my site was returned to "site does not exist", I used hreflang at least that google would detect my new domain been forwarding and yes it worked but now I'm wondering, for how much time should I keep the forwarding the old domain to the new one, my site looks like is not going up, I have changed all the external links, any help would be appreciated. Thanks!

                    Intermediate & Advanced SEO | Mar 13, 2017, 4:00 PM | Fulanito
                    1
                  • LJHopkins

                    Domain dominance

                    I've just started to work for a company who've purchased masses of domains with every conceivable permutation based on all their products with every extension possible e.g .biz  . eu. .net (including .co.uk and .com of course). I have two questions: 1. Is it worth keeping all these (they want to add more) domains or let them expire? 2. All the purchased domains are online - is there any point (they redirect with a 301)?

                    Intermediate & Advanced SEO | Sep 23, 2015, 10:04 AM | LJHopkins
                    0
                  • ennovators

                    Replace dynamic paramenter URLs with static Landing Page URL - faceted navigation

                    Hi there, got a quick question regarding faceted navigation. If a specific filter (facet) seems to be quite popular for visitors. Does it make sense to replace a dynamic URL e.x http://www.domain.com/pants.html?a_type=239 by a static, more SEO friendly URL e.x http://www.domain.com/pants/levis-pants.html by creating a proper landing page for it. I know, that it is nearly impossible to replace all variations of this parameter URLs by static ones but does it generally make sense to do this for the most popular facets choose by visitors. Or does this cause any issues? Any help is much appreciated. Thanks a lot in advance

                    Intermediate & Advanced SEO | Jul 9, 2015, 5:26 PM | ennovators
                    0
                  • lcourse

                    Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?

                    We are building URLs dynamically with apache rewrite.
                    When we detect that an URL is matching some valid patterns, we serve a script which then may detect that the combination of parameters in the URL does not exist. If this happens we produce a 301 redirect to another URL which serves a 404 error page, So my doubt is the following: Do I have to worry about not serving directly an 404, but redirecting (301) to a 404 page? Will this lead to the erroneous original URL staying longer in the google index than if I would serve directly a 404? Some context. It is a site with about 200.000 web pages and we have currently 90.000 404 errors reported in webmaster tools (even though only 600 detected last month).

                    Intermediate & Advanced SEO | Aug 13, 2014, 11:11 AM | lcourse
                    0
                  • authoritysitebuilder

                    Adding index.php at the end of the url effect it's rankings

                    I have just had my site updated and we have put index.php at the end of all the urls. Not long after the sites rankings dropped. Checking the backlinks, they all go to (example)  http://www.website.com  and not http://www.website.com/index.php. So could this change have effected rankings even though it redirects to the new url?

                    Intermediate & Advanced SEO | Mar 3, 2012, 11:02 PM | authoritysitebuilder
                    0
                  • RikkiD22

                    Exact match domain names

                    Hello, Someone approached a client of mine to sell a exact match domain name for a very competitive and high converting keyword. Would this be of any use and what are the best tactics to employ if it is purchased? I was of the opinion that the 'power' of exact match domain names are dying fast but would be interested to hear what people with experience in this think and what they have done with them (i.e. set-up a website on that domain or re-directed it)? Thanks, Rikki

                    Intermediate & Advanced SEO | Dec 5, 2011, 10:13 AM | RikkiD22
                    0
                  • markc-197183

                    Multiple Domain names pointing at one website

                    Hello, A collegue has asked if we can buy multiple domain names which contain keywords and point them at our website. Is this good practise or will it be seen as spam? Will these domains actually get ranked? I'm sure I'm not the first person to raise this but can't seem to find any questions and answers about this. Thanks Mark

                    Intermediate & Advanced SEO | Jul 23, 2013, 9:53 PM | markc-197183
                    0
                  • Jay.Neely

                    Are URL shorteners building domain authority everytime someone uses a link from their service?

                    My understanding of domain authority is that the more links pointing to any page / resource on a domain, the greater the overall domain authority (and weight passed from outbound links on the domain) is. Because URL shorteners create links on their own domain that redirect to an off-domain page but link "to" an on-domain URL, are they gaining domain authority each time someone publishes a shortened link from their service? Or does Google penalize these sites specifically, or links that redirect in general? Or am I missing something else?

                    Intermediate & Advanced SEO | Jul 24, 2011, 12:23 AM | Jay.Neely
                    0

                  Get started with Moz Pro!

                  Unlock the power of advanced SEO tools and data-driven insights.

                  Start my free trial
                  Products
                  • Moz Pro
                  • Moz Local
                  • Moz API
                  • Moz Data
                  • STAT
                  • Product Updates
                  Moz Solutions
                  • SMB Solutions
                  • Agency Solutions
                  • Enterprise Solutions
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority Checker
                  • Local Citation Checker
                  • MozBar Extension
                  • MozCast
                  Resources
                  • Blog
                  • SEO Learning Center
                  • Help Hub
                  • Beginner's Guide to SEO
                  • How-to Guides
                  • Moz Academy
                  • API Docs
                  About Moz
                  • About
                  • Team
                  • Careers
                  • Contact
                  Why Moz
                  • Case Studies
                  • Testimonials
                  Get Involved
                  • Become an Affiliate
                  • MozCon
                  • Webinars
                  • Practical Marketer Series
                  • MozPod
                  Connect with us

                  Contact the Help team

                  Join our newsletter
                  Moz logo
                  © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy

                  Looks like your connection to Moz was lost, please wait while we try to reconnect.