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. Redirects and site map isn't showing

    Redirects and site map isn't showing

    Technical SEO Issues
    6 3 40
    • 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.
    • Caffeine_Marketing
      Caffeine_Marketing last edited by

      We had a malware hack and spent 3 days trying to get Bluehost to fix things.  Since they have made changes 2 things are happening:

      1. Our .xml sitemap cannot be created  https://www.caffeinemarketing.co.uk/sitmap.xml  we have tried external tools

      2.  We had 301 redirects from the http (www and non www versions) nad the https;// (non www version)  throughout the whole website to https://www.caffeinemarketing.co.uk/ and subsequent pages

      Whilst the redirects seem to be happening, when you go into the tools such as https://httpstatus.io every version of every page is a 200 code only whereas before ther were showing the 301 redirects

      Have Bluehost messed things up?  Hope you can help

      thanks

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

        Hi Carrie,

        For your 301 redirects on the root level, it sounds like the .htaccess file has changed on the server. Can you try validating those other http and non-www versions of the website through other tools like ScreamingFrog? If you're still getting 200 response codes, I would advise raising the issue with Bluehost as this is something they can fix.

        As for the XML sitemap, do you  mean that you're unable to upload a file to that location? Have you tried sFTP?

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

          Hi, are you able to please interpret this for me.  It looks like the non www versions are showing as https://www version on 200.  the home page looks like the only 301???

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

            see attachement

            gA99Q6R

            effectdigital WebQuest 2 Replies Last reply Reply Quote 0
            • effectdigital
              effectdigital @Caffeine_Marketing last edited by

              That attachment shows that non HTTPS and non WWW URLs are being 301 redirected to the HTTPS-WWW version(s). That's what you want right? From your screenshot it seems like it is working how you want

              Just so you know, when you put one architecture into Screaming Frog (e.g: you put in HTTP with no WWW), it doesn't limit the crawl to that specific architecture. If the crawler is redirected from non-WWW non HTTPS to HTTPS with WWW, then the crawler will carry on crawling THAT version of the site

              If you wanted to crawl all of the old HTTP-non-WWW URLs, you would need to list all of them for SF in list mode and alter the crawlers settings to 'contain' it to just the list of URLs which you entered. I'm pretty sure then, you would see that most of the HTTP-non-WWW URLs are properly redirecting as they should be

              As for the XML thing it's very common especially for people using Yoast. I think Yoast is really good by the way, but for some reason, on some hosting environments the XML sitemap starts blank-rendering. Most of the time hosting companies say they can't fix it and it's Yoast's fault but I don't really believe that. If a file (e.g: sitemap.xml) cannot be created, it's more likely they went in via FTP and changed some file read/write permissions and due to it being more locked down, the XML cannot be created anymore. If you were hacked by malware, they were likely over-zealous when locking your site back down and it's causing problems for your XML feed(s)

              1 Reply Last reply Reply Quote 1
              • WebQuest
                WebQuest @Caffeine_Marketing last edited by

                I agree with what effectdigital said. It looks like everything is in place and your non-www and you http versions of the website are redirecting to the https-www version of the site.

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                • These days on Google results, it also shows the site map. I submitted my company's sitemap and it still does not show?What am I doing wrong?
                  BritneyMuller
                  BritneyMuller
                  0
                  3
                  58

                • Why Can't Googlebot Fetch Its Own Map on Our Site?
                  KempRugeLawGroup
                  KempRugeLawGroup
                  1
                  3
                  3.1k

                • Why isn't our new site being indexed?
                  Tom-Anthony
                  Tom-Anthony
                  0
                  12
                  320

                • Site's IP showing WMT 'Links to My Site'
                  evansluke
                  evansluke
                  0
                  4
                  117

                • Why is Google Webmaster Tools showing 404 Page Not Found Errors for web pages that don't have anything to do with my site?
                  MonicaOConnor
                  MonicaOConnor
                  0
                  6
                  1.1k

                • Web page is showing up on Google but doesn't show when it was cached, so is it indexed?
                  conversiontactics
                  conversiontactics
                  0
                  5
                  284

                • Url's don't want to show up in google. Please help?
                  RyanKent
                  RyanKent
                  0
                  5
                  587

                • How to show a 'We are now...' message for a rebrand and do a 301 redirect?
                  Pawngo
                  Pawngo
                  0
                  5
                  769

                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