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. De-indexing and SSL question

    De-indexing and SSL question

    Technical SEO Issues
    6 2 64
    • 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.
    • fabx
      fabx last edited by

      Few days ago Google indexed hundreds of my directories by mistake (error with plugins/host), my traffic dropped as a consequence.

      Anyway I fixed that and submitted a URL removal request. Now just waiting things to go back to normality.

      Meantime I was supposed to move my website to HTTPS this week.

      Question:

      Should I wait until this indexing error has been fixed or I may as well go ahead with the SSL move?

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

        Good question. In all honesty, I think it's safe to go forward with an HTTPS migration.

        A "URL removal request"

        A simple move to https two different things that can be done at the same time.

        if you have a certain set up please let me know I can give you better instructions on how to completely migrate over to HTTPS. Here are some of the basics below.

        • https://www.searchenginejournal.com/https-migration-guide/195103/
        • https://www.keycdn.com/blog/http-to-https
        • https://gofishdigital.com/steps-in-website-https-migration/

        if you're using WordPress

        • https://www.searchenginejournal.com/wordpress-http-to-https/236969/
        • Photograph https://imgur.com/q1RfhhH.jpg

        Search & Replace in Files

        To begin, search for instances of your domain pointing to HTTP URLs of your site.

        Use the regex for **“www” **and without “www” URL cases and search for

        http:\/\/(www\.)?yourdomain\.com

        always search and replace your database if you have one.

        remember to implement redirects

        NGINX

        Add the following to your Nginx config.

        <code class=" language-nginx">server {
            listen 80;
            server_name domain.com www.domain.com;
            return 301 https://domain.com$request_uri;
        }</code>
        

        Apache

        Add the following to your .htaccess file.

        <code class=" language-apacheconf">RewriteEngine On
        RewriteCond %{HTTPS} off
        RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]</code>
        

        6. Update your robots.txt File#

        Update any hard-coded links or blocking rules you might have in your robots.txt that might still be pointing to HTTP directories or files

        • Update your robots.txt file
        • Update your disavow file if you have one
        • update Google search console

        if you want a very quick easy way to implement HTTPS, redirects as well as certificates I recommend Cloudflare The free version should do it.

        • https://www.cloudflare.com/

          I hope this helps,
          Tom

        q1RfhhH.jpg

        1 Reply Last reply Reply Quote 1
        • fabx
          fabx last edited by

          Hi Tom,
          yes I have WordPress, I have read a few guides online about it.

          for the search and replace part, I found a plugin called Better Search Replace: https://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/

          the instructions in the search engine journal article do the search-replace manually. The plugin should be better, have you tried it?

          Good question. In all honesty, I think it's safe to go forward with an HTTPS migration.

          I am a bit worried. I asked this question to many people in many forums and nobody replies. Which makes me wonder if it's something really bad. It would be nice to have additional opinions.

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

            I respect your want to get  this right

            “A few days ago, Google indexed hundreds of my directories by mistake (error with plugins/host); my traffic dropped as a consequence.

            _ Anyway, I fixed that and submitted a URL removal request. Now just waiting for things to go back to normality.” _

            in my opinion, you can see the change happen to the https URLs & you want to be sure that https will not let your unwanted directory back in Google's index.

            I think unless you can show me your site better Search & replace will be more comfortable & faster.

            Yes, I have used better search & replace many times; it’s a great tool.

            Make sure you back up your site before you do a search & replace.

            https://wordpress.org/plugins/better-search-replace/

            I think you should be able to see everything needed and more from this great how-to the person who made it is a friend & they don't just show you how to do this on Kinsta they show you how to use Apache & Nginx as well.

            It covers everything you might want to think about managed wordpress hosting if this is something you don't feel comfortable doing.

            https://kinsta.com/blog/http-to-https/

            I would look at Pagely, Pantheon Servebolt & Kinsta.

            If it helps, I am ranked in the top 10 or 11 for assisting people on Moz. Unless you only blocked the HTTP version of your directories, then you will have the same results with https.

            • Would you allow me to see the domain?
            • Who is your hosting company?

            Respectfully,

            Tom Zickell

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

              PS I agree it would be nice to hear from more people I am sure you will by tomorrow.

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

                Let me know if you can let me see the domain?

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Need to de-index certain pages fast
                  MattAntonino
                  MattAntonino
                  0
                  4
                  142

                • Homepage De-Indexed - No Errors, No Warnings
                  gpapatheodorou
                  gpapatheodorou
                  0
                  9
                  573

                • Homepage de-indexed, rest of site all there...
                  duncm
                  duncm
                  0
                  3
                  171

                • Indexation question
                  irvingw
                  irvingw
                  0
                  3
                  178

                • I have a site that has both http:// and https:// versions indexed, e.g. https://www.homepage.com/ and http://www.homepage.com/. How do I de-index the https// versions without losing the link juice that is going to the https://homepage.com/ pages?
                  fthead9
                  fthead9
                  0
                  3
                  729

                • De-indexing thin content & Panda--any advantage to immediate de-indexing?
                  ShaMenz
                  ShaMenz
                  0
                  4
                  1.0k

                • Home Page Indexing Question/Problem
                  Getz.pro
                  Getz.pro
                  0
                  2
                  645

                • Over 1000 pages de-indexed over night
                  jaraca
                  jaraca
                  0
                  10
                  1.4k

                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