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. What is consider best practice today for blocking admins from potentially getting indexed

    What is consider best practice today for blocking admins from potentially getting indexed

    Technical SEO Issues
    5 5 907
    • 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.
    • david-217997
      david-217997 last edited by

      What is consider best practice today for blocking pages, for instance xyz.com/admin pages, from getting indexed by the search engines or easily found.  Do you recommend to still disallow it in the robots.txt file or is the robots.txt not the best place to notate your /admin location because of hackers and such? Is it better to hide the /admin with an obscure name, use the noidex tag on the page and don't list in the robots.txt file?

      1 Reply Last reply Reply Quote 0
      • Andy.Drinkwater
        Andy.Drinkwater last edited by

        One of my customers just has a page that is hidden from public view (www.url.co.uk/adminpage), no-indexed and isn't in the robots file and in 10 years, there has never been a hack attempt.

        1 Reply Last reply Reply Quote 0
        • NickPateman81
          NickPateman81 last edited by

          name='robots' content='noindex,nofollow' /> before the and mix that with an obscure page URL. It'll never get found.

          What you could do with the robots.txt is disallow a directory like /admin/ but then have the login page @ domain.com/admin/obscure-login-url. If you do all of that then you're pretty damn safe in the knowledge that no one will ever find your login URL.

          Goetzman 1 Reply Last reply Reply Quote 0
          • Goetzman
            Goetzman @NickPateman81 last edited by

            I agree with Nick, using robots.txt, meta, and obscure page url 🙂

            1 Reply Last reply Reply Quote 0
            • perfectweb
              perfectweb last edited by

              Agreed with the above two answers. Use an obscure url and use meta tags to noindex/nofollow the pages.

              I wouldn't worry too much about people finding your admin pages. You should already have security measures in place that prevent people from hacking your site or "guessing" your admin credentials. If you don't have these types of measures in place then I would recommend concentrating on these.

              Some ideas of things to look at:

              • Ensure pages do not allow SQL injection attacks
              • Use complex usernames and passwords
              • Stop people from entering the wrong username and password more than x times within y minutes (e.g. lock out the account either permanently or for a temporary time restriction)
              • If someone tries to enter a username and password within a given period of time, prompt them with a captcha check to ensure no bots are trying to access the site
              • Ensure passwords are changed regularly
              • Set up an alerting system should incorrect credentials be entered
              • Plus there are LOADS more things you should do
              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Best practices for types of pages not to index
                seoman10
                seoman10
                0
                5
                1.5k

              • New SEO manager needs help! Currently only about 15% of our live sitemap (~4 million url e-commerce site) is actually indexed in Google. What are best practices sitemaps for big sites with a lot of changing content?
                Nigel_Carr
                Nigel_Carr
                1
                4
                106

              • What are best options for website built with navigation drop-down menus in JavaScript, to get those menus indexed by Google?
                Travis_Bailey
                Travis_Bailey
                0
                4
                142

              • Best Practice for Blocking a site from 1 countries search engines
                Salience_Search_Marketing
                Salience_Search_Marketing
                0
                3
                65

              • What is the best practice to re-index the de-indexed pages due to a bad migration
                riyas_
                riyas_
                0
                3
                306

              • Best way to handle indexed pages you don't want indexed
                NakulGoyal
                NakulGoyal
                0
                11
                786

              • Getting Posts Indexed
                JoostvanVught
                JoostvanVught
                0
                4
                324

              • What is the best method to block a sub-domain, e.g. staging.domain.com/ from getting indexed?
                KeriMorgret
                KeriMorgret
                0
                13
                6.3k

              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