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. On-Page / Site Optimization
    4. Redirect and Redirect Error in Moz Crawl

    Redirect and Redirect Error in Moz Crawl

    On-Page / Site Optimization
    4 2 49
    • 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.
    • ATP
      ATP last edited by

      Hello,

      We have a wordpress blog attached to our magento website located at

      domain.co.uk/blog/

      Moz was coming back showing we had multiple page versions on show (http and https)

      So i updated the htaccess file to what is below. This has fixed most of the errors, however the homepage is being a little tricky. Moz is now saying that the page is redirecting and redirecting again

      http://www.domain.co.uk/blog   to
      http://www.domain.co.uk/blog/   to
      https://www.domain.co.uk/blog/

      BEGIN WordPress

      <ifmodule mod_rewrite.c="">RewriteEngine On
      RewriteBase /blog/</ifmodule>

      RewriteCond %{HTTPS} !=on
      RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

      RewriteRule ^index.php$ - [L]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /blog/index.php [L]

      END WordPress

      Within wordpress settings the urls are set up as follows

      Wordpress Address URL: https://www.domain.co.uk/blog

      Site Address URL: https://www.domain.co.uk/blog

      i tried to add a trailing / to these but it gets automatically removed. So i am assuming that wordpress is serving up

      https://www.domain.co.uk/blog

      **RewriteBase /blog/  **is re-directing it to /

      then my https rewrite is re-directing it again

      I am not sure where exactly to fix this, could anybody advise?

      Many thanks,

      1 Reply Last reply Reply Quote 0
      • andy.bigbangthemes
        andy.bigbangthemes last edited by

        Can you please include your real URL so we can have a look?

        Thanks

        ATP 1 Reply Last reply Reply Quote 0
        • ATP
          ATP @andy.bigbangthemes last edited by

          Thanks for the response Andy but i think i have solved it.

          It belive the links redirect as originally posted, but i found a link set to the original link http://www.domain.co.uk/blog

          I have updated this link and as hopefully this will stop the error in Moz.

          Thanks for taking a glance though

          1 Reply Last reply Reply Quote 1
          • andy.bigbangthemes
            andy.bigbangthemes last edited by

            No worries. Let me know if you still need help 🙂

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Crawl errors
              MonicaOConnor
              MonicaOConnor
              0
              3
              75

            • Moz not showing blog errors
              Dave_Whitty
              Dave_Whitty
              0
              2
              66

            • Why so many crawl errors?
              Mike.Goracke
              Mike.Goracke
              0
              2
              120

            • Error is not going away and crawling
              Pixeltistic
              Pixeltistic
              0
              6
              230

            • Html and css errors - what do SE spiders do if they come across coding errors? Do they stop crawling the rest of the code below the error
              pab1
              pab1
              0
              3
              511

            • WordPress Crawl Errors
              Confetti_Wedding
              Confetti_Wedding
              0
              2
              338

            • Why that many Crawl Diagnostics errors, false?
              hugoaf
              hugoaf
              0
              3
              318

            • SEOmoz crawl error
              DrWho
              DrWho
              0
              6
              559

            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