The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Can you 404 any forms of URL?

    Can you 404 any forms of URL?

    Technical SEO Issues
    11 4 632
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Copstead
      Copstead last edited by

      Instead of trying to 404 those, I would suggest utilizing GWT (Google Webmaster Tools) and use their "URL Parameters".  This will allow you to tell Google not to index all of them.

      Log into GWT, under "Site configuration" select "URL paremters".

      Ideas-Money-Art 1 Reply Last reply Reply Quote 0
      • Ideas-Money-Art
        Ideas-Money-Art @Copstead last edited by

        Thanks Brent:)

        But can you tell me why this wouldn't be good to 404? what is the reason behind that statement?

        Thanks

        Copstead Dr-Pete Ideas-Money-Art 7 Replies Last reply Reply Quote 0
        • jim_cetin
          jim_cetin last edited by

          Drupal and Logintoboggan is maybe not configured correctly. It seems that cleanurls is not setup as well.

          Maybe that will solve your issues?

          1 Reply Last reply Reply Quote 1
          • Copstead
            Copstead @Ideas-Money-Art last edited by

            Are they actual not found pages?  If not then I wouldn't 404 them, and I have never tried to 404 parameters.

            Also, I would make sure you setup a rel=canonical tag.  This will also help with the duplicates.

            1 Reply Last reply Reply Quote 0
            • Dr-Pete
              Dr-Pete @Ideas-Money-Art last edited by

              I would either go with parameter blocking or META NOINDEX this page (that's probably a bit more effective). It would be better to block it from Google than to 404 100s of variants, as you could see a spike in 404s and that can cause some problems.

              Sorry, edited this - you don't want to 404 the login pages, because that's going to return a 404 for visitors as well, and the pages won't function properly. You want to just keep this away from the bots.

              1 Reply Last reply Reply Quote 1
              • Ideas-Money-Art
                Ideas-Money-Art @Ideas-Money-Art last edited by

                Hey Brent,

                For Rel=canonical

                I should insert this tag:

                rel="canonical" href="http://www.ex.com/user/login" />

                in each of these pages

                | http://ex.com/user/login?destination=comment%2Freply%2F256%23comment-form |
                | http://ex.com/user/login?destination=comment%2Freply%2F258%23comment-form |
                | http://ex.com/user/login?destination=comment%2Freply%2F242%23comment-form |
                | http://ex.com/user/login?destination=comment%2Freply%2F257%23comment-form |
                | http://ex.com/user/login?destination=comment%2Freply%2F260%23comment-form |
                | http://ex.com/user/login?destination=comment%2Freply%2F225%23comment-form |
                | http://ex.com/user/login?destination=comment%2Freply%2F251%23comment-form |
                | http://ex.com/user/login?destination=comment%2Freply%2F176%23comment-form |

                Is that correct?

                Thanks

                1 Reply Last reply Reply Quote 0
                • Copstead
                  Copstead @Ideas-Money-Art last edited by

                  I believe all you have to do is put this tag

                  On the main login page (should be the same url) and it will cover all variations.

                  If you aren't sure, go ahead and add it then view the source code of  the pages above to see if they all have the same rel=canonical tag.

                  1 Reply Last reply Reply Quote 0
                  • Ideas-Money-Art
                    Ideas-Money-Art @Ideas-Money-Art last edited by

                    Thanks Brent,

                    Interesting, I thought you would put the canonical version of the URL on all duplicates. Have you done it before?

                    1 Reply Last reply Reply Quote 0
                    • Ideas-Money-Art
                      Ideas-Money-Art @Ideas-Money-Art last edited by

                      Hi Dr.Peter,

                      Thanks for this great suggestion but could you tell me if the canonical would be a solution and if yes, could you tell me if my answer to Brent is right?

                      Thanks 🙂

                      1 Reply Last reply Reply Quote 0
                      • Copstead
                        Copstead @Ideas-Money-Art last edited by

                        I believe this file is the base template for all the others.  So if you put it on the main one, it should be on the others.  That is why I suggested to add it and then view the code of the others to verify it is there as well.

                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • First post
                          Last post
                        • 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
                          Nichole.wynter2020
                          Nichole.wynter2020
                          0
                          3
                          28

                        • How can i create goal for unchanging url after filling the form
                          TimHolmes
                          TimHolmes
                          0
                          4
                          48

                        • Error in how URLs were set up, how can it be fixed?
                          DianeDP
                          DianeDP
                          0
                          3
                          83

                        • Should I make a new URL just so it can include a target keyword, then 301 redirect the old URL?
                          Kurt_Steinbrueck
                          Kurt_Steinbrueck
                          0
                          5
                          153

                        • How can I see the SEO of a URL? I need to know the progress of a specific landing-page of my web. Not a keyword, an url please. Thanks.
                          BlueprintMarketing
                          BlueprintMarketing
                          0
                          2
                          147

                        • Crawl reveals hundreds of urls with multiple urls in the url string
                          irvingw
                          irvingw
                          0
                          5
                          455

                        • Is there actual risk to having multiple URLs that frame in main url? Or is it just bad form and waste of money?
                          icecarats
                          icecarats
                          0
                          7
                          635

                        • Can I redirect a URL that has a # in it? How?
                          ASOS
                          ASOS
                          0
                          7
                          422

                        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
                        • Digital Marketers
                        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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                        • Accessibility
                        • Terms of Use
                        • Privacy