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.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    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. Crazy long weird URLs... help

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.

Crazy long weird URLs... help

Intermediate & Advanced SEO
3
10
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.
  • JohnPeters
    JohnPeters last edited by Oct 23, 2012, 5:40 AM

    I have a HTML website, mysite1.com, and I placed a link on the home page to another one of my sites, mysite2.com

    Today I checked the links to mysite2.com in Majestic and noticed 24 links coming from the mysite1.com instead of just one link.

    The URLs from mysite1.com that are showing in Majestic are like this

    mysite1.com/?epl=4donafvFK3fMXxZXMWQRQLodmPchoXCK5C7-kbBv_agkwlkJrZAoaSDVUlhqFmUqt0f8c2Q6jF6GO6DNMnbidqRsikriF-IEBEt5okmICLEB0FxP36GrsxoPGQ3SGBo1PVR7itDUA4CYmjypn5gi

    mysite1.com,was inherited from a friend and I believe that it was originally built in Frontpage.

    Can you tell me how I can get rid of these multiple links as I only want 1 showing from the home page

    Thanks in advance

    1 Reply Last reply Reply Quote 0
    • Andy.Drinkwater
      Andy.Drinkwater @JohnPeters last edited by Oct 23, 2012, 7:07 AM Oct 23, 2012, 7:07 AM

      I would need to see this to give you any real feedback on it John but general rule of thumb is if Google looked at these links, would they see and understand the reasoning for the links to be there?

      Andy

      1 Reply Last reply Reply Quote 0
      • JohnPeters
        JohnPeters @JohnPeters last edited by Oct 23, 2012, 7:03 AM Oct 23, 2012, 7:03 AM

        I see what you mean. Well the links from the home page sites are going from sites that are for information purposes only, then link to the service provider recommended by that website.

        I wouldn't see anything wrong with this. There are 5 sites linking from the home page to my main site out of 120 backlinks. I presume that this doesnt look bad in Google's eyes

        1 Reply Last reply Reply Quote 0
        • Andy.Drinkwater
          Andy.Drinkwater @JohnPeters last edited by Oct 23, 2012, 6:52 AM Oct 23, 2012, 6:52 AM

          I can't really help you with the htaccess stuff John, but regarding links from the homepage to another external site, this has always been a questionable practice. Why would you want to direct someone to another site as soon as they got to your homepage? Google see this in a similar way.

          However, if there is a very good reason for the link to appear there and if it formed part of a good sentence with accurate anchor text and wasn't trying to push people there just to get traffic up, then I can see no harm - bit hard to judge without seeing though.

          Andy

          1 Reply Last reply Reply Quote 0
          • JohnPeters
            JohnPeters @Andy.Drinkwater last edited by Oct 23, 2012, 6:46 AM Oct 23, 2012, 6:46 AM

            Hi Andy,

            Thanks for helping out.

            Can you tell me why you think home page links are bad? I actually started a question about this last week but didnt get many replys. Do you think getting home page links a bad thing to do?

            Ive done some digging and found that when I go to mysite1.com in majestic and look at Pages, its showing all the long URLs that I found pointing to mysite2.com

            So I guess that at some point in its life, these pages have been indexed by Google.

            These URLs all start with a ? i.e. mysite1.com/?561796

            So I am guessing the best way to solve this is to make all URLs that start with a /? be redirected to the root.

            Unfortunetly I have no idea how to write this in the htaccess file

            Andy.Drinkwater JohnPeters 3 Replies Last reply Oct 23, 2012, 7:07 AM Reply Quote 0
            • Andy.Drinkwater
              Andy.Drinkwater last edited by Oct 23, 2012, 6:30 AM Oct 23, 2012, 6:30 AM

              First of all, be careful with off-site links from your homepage unless there is a very good reason for it. If there isn't, I would always no-follow it so Google doesn't see an unethical link.

              With reagards what you are seeing in Majestic, when you hover over the link, what do you see? Is it just a normal HTML link or has it been completed another way?

              Andy

              JohnPeters 1 Reply Last reply Oct 23, 2012, 6:46 AM Reply Quote 0
              • JohnPeters
                JohnPeters last edited by Oct 23, 2012, 6:12 AM Oct 23, 2012, 6:12 AM

                Ok I have noticed that any URL with ? at the end shows the home page.

                mysite1.com/? will show the home page

                mysite1.com/?111 will show the home page

                etc etc

                So I guess I need to redirect anything with a ? to the home page using a 301.

                Can someone tell me what the code will be to do that in the htaccess file?

                1 Reply Last reply Reply Quote 0
                • DeanAndrews
                  DeanAndrews @JohnPeters last edited by Oct 23, 2012, 5:55 AM Oct 23, 2012, 5:55 AM

                  Hi John

                  PM me if you like, I'll have a look for you. Promise not to repeat the domain name.

                  1 Reply Last reply Reply Quote 0
                  • JohnPeters
                    JohnPeters @DeanAndrews last edited by Oct 23, 2012, 5:51 AM Oct 23, 2012, 5:51 AM

                    Hi,

                    Unfortunately I cant do that on a public forum.

                    But I can tell you all the URLs look like the one Ive posted, loads of numbers etc.

                    It isnt a dynamic site so these actual URLs are not  live pages.

                    When you visit these URLs, they are just duplicates of the home page

                    Hope that helps a little

                    DeanAndrews 1 Reply Last reply Oct 23, 2012, 5:55 AM Reply Quote 0
                    • DeanAndrews
                      DeanAndrews last edited by Oct 23, 2012, 5:47 AM Oct 23, 2012, 5:47 AM

                      Hi John

                      Could you provide the address so we can look please. Would be making wild guesses else.

                      JohnPeters 1 Reply Last reply Oct 23, 2012, 5:51 AM Reply Quote 0
                      • 1 / 1
                      1 out of 10
                      • First post
                        1/10
                        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

                      • 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
                      • peteboyd

                        URL Injection Hack - What to do with spammy URLs that keep appearing in Google's index?

                        A website was hacked (URL injection) but the malicious code has been cleaned up and removed from all pages. However, whenever we run a site:domain.com in Google, we keep finding more spammy URLs from the hack. They all lead to a 404 error page since the hack was cleaned up in the code. We have been using the Google WMT Remove URLs tool to have these spammy URLs removed from Google's index but new URLs keep appearing every day. We looked at the cache dates on these URLs and they are vary in dates but none are recent and most are from a month ago when the initial hack occurred. My question is...should we continue to check the index every day and keep submitting these URLs to be removed manually? Or since they all lead to a 404 page will Google eventually remove these spammy URLs from the index automatically? Thanks in advance Moz community for your feedback.

                        Intermediate & Advanced SEO | Jun 28, 2015, 1:03 AM | peteboyd
                        0
                      • underscorelive

                        What is the best URL structure for categories?

                        A client's site currently uses the URL structure: www.website.com/�tegory%/%postname% Which I think is optimised fairly well, as the categories are keywords being targeted.  However, as they are using a category hierarchy, often times the URL looks like this: www.website.com/parent-category/child-category/some-post-titles-are-quite-long-as-they-are-long-tail-terms Best practise often dictates (such as point 3 in this Moz article) that shorter URLs are better for several reasons. So I'm left with a few options: Remove the category from the URL Flatten the category hierarchy Shorten post titles two a word or two - which would hurt my long tail search term traffic. Leave it as it is What do we think is the best route to take? Thanks in advance!

                        Intermediate & Advanced SEO | Jun 6, 2013, 11:53 AM | underscorelive
                        0
                      • Seamoose

                        301 Redirection and apostrophes in URLs

                        Hi I am experiencing trouble getting any redirects with apostrophes in the URLs to 301 redirect in order to eliminate 404 errors. I have tried replacing the instance of the apostrophe in the source URL field to %27 and variations of this but to no avail. The site is a wordpress site (the old URLS are legacies from the old Business Catalyst site) and I am using the redirection plug in. I have gone into some detail with a helpful soul here http://wordpress.org/support/topic/how-to-deal-with-apostrophes-in-source-url but unfortunately to no result. If anyone has any idea how to solve this puzzle I would be grateful for the help. Example: http://www.tesselaars.com/blog/Inside_Flowers/post/Online_Marketing_for_Florists_Part_1%E2%80%93_A_Website_You_Won%27t_Regret/

                        Intermediate & Advanced SEO | May 1, 2013, 2:17 AM | Seamoose
                        0
                      • JohnPeters

                        Strange URLs, how do I fix this?

                        I've just check Majestic and have seen around 50 links coming from one of my other sites. The links all look like this: http://www.dwww.mysite.com
                        http://www.eee.mysite.com
                        http://www.w.mysite.com The site these links are coming from is a html site. Any ideas whats going on or a way to get rid of these urls? When I visit the strange URLs such as http://www.dwww.mysite.com, it shows the home page of http://www.mysite.com. Is there a way to redirect anything like this back to the home page?

                        Intermediate & Advanced SEO | Apr 11, 2013, 2:51 AM | JohnPeters
                        0
                      • Deepti_C

                        Google News URL Structure

                        Hi there folks I am looking for some guidance on Google News URLs. We are restructuring the site. A main traffic driver will be the traffic we get from Google News. Most large publishers use: www.site.com/news/12345/this-is-the-title/ Others use www.example.com/news/celebrity/12345/this-is-the-title/ etc. www.example.com/news/celebrity-news/12345/this-is-the-title/ www.example.com/celebrity-news/12345/this-is-the-title/ (Celebrity is a channel on Google News so should we try and follow that format?) www.example.com/news/celebrity-news/this-is-the-title/12345/ www.example.com/news/celebrity-news/this-is-the-title-12345/ (unique ID no at the end and part of the title URL) www.example.com/news/celebrity-news/celebrity-name/this-is-the-title-12345/ Others include the date. So as you can see there are so many combinations and there doesnt seem to be any unity across news sites for this format. Have you any advice on how to structure these URLs? Particularly if we want to been seen as an authority on the following topics: fashion, hair, beauty, and celebrity news - in particular "celebrity name" So should the celebrity news section be www.example.com/news/celebrity-news/celebrity-name/this-is-the-title-12345/ or what? This is for a completely new site build. Thanks Barry

                        Intermediate & Advanced SEO | Oct 12, 2012, 5:51 PM | Deepti_C
                        0
                      • seoppc2012

                        Does Google index url with hashtags?

                        We are setting up some Jquery tabs in a page that will produce the same url with hashtags. For example: index.php#aboutus, index.php#ourguarantee, etc. We don't want that content to be crawled as we'd like to prevent duplicate content. Does Google normally crawl such urls or does it just ignore them? Thanks in advance.

                        Intermediate & Advanced SEO | Oct 16, 2013, 4:56 PM | seoppc2012
                        0
                      • ukss1984

                        URL Error or Penguin Penalty?

                        I am currently having a major panic as our website www.uksoccershop.com has been largely dropped from Google. We have not made any changes recently and I am not sure why this is happening, but having heard all sorts of horror stories of penguin update, I am fearing the worst. If you google "uksoccershop" you will see that the homepage does not rank. We previously ranked in the top 3 for "football shirts" but now we don't, although on page 2, 3 and 4 you will see one of our category pages ranking (this didn't used to happen). Some rankings are intact, but many have disappeared completely and in some cases been replaced by other pages on our site. I should point out our existing rankings have been consistently there for 5-6 years until today. I logged into webmaster tools and thankfully there is no warning message from Google about spam, etc, but what we do have is 35,000 URL errors for pages which are accessible. An example of this is: | URL: | http://www.uksoccershop.com/categories/5_295_327.html | | Error details In Sitemaps Linked from Last crawled: 6/20/12First detected: 6/15/12Googlebot couldn't access the contents of this URL because the server had an internal error when trying to process the request. These errors tend to be with the server itself, not with the request. Is it possible this is the cause of the issue (we are not currently sure why the URL's are being blocked) and if so, how severe is it and how recoverable?If that is unlikely to cause the issue, what would you recommend our next move is?All help is REALLY REALLY appreciated 🙂

                        Intermediate & Advanced SEO | Jun 22, 2012, 3:45 PM | ukss1984
                        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.