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 issue

    Redirect issue

    On-Page / Site Optimization
    6 5 57
    • 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.
    • agentmorris1
      agentmorris1 last edited by

      http://www.themorrisagency.co.uk/wedding-band redirects to http://www.themorrisagency.co.uk/wedding-band-cost-much-hire/

      NO canonical in place. Nothing in Htaccess. I cant think where else to look to find it.

      If I amend it to http://www.themorrisagency.co.uk/we it still redirects.

      Any ideas? I have spent way too long on it now

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

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • ThompsonPaul
          ThompsonPaul last edited by

          This is built-in functionality in Wordpress, matching closest existing URL.

          Paul

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

            It is definitely a Wordpress issue. Take a look at your functions.php file for your theme. You can add some code to turn off this feature.

            If you have this feature on, which it usually is by default, it will redirect to the closest matching URL. Like so:

            https://www.example.com/contact

            will redirect to

            https://www.example.com/contact-us (the actual page URL)

            remove_filter('template_redirect', 'redirect_canonical'); is the code you need to add to the functions.php. But make sure you read up on it before disabling it, as it does have some benefits.

            agentmorris1 1 Reply Last reply Reply Quote 1
            • agentmorris1
              agentmorris1 @JohnMondt last edited by

              Thank you

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

                Hello!

                Were you able to fix it? To sum up the other answers, this could be a few things:

                • a redirect in your .htaccess file

                • a redirect in a plugin (yoast, or a separate redirects plugin - some plugins even create redirects automatically)

                • or autogenerated by your theme/wordpress

                I would work in that order looking for it,

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • My site auto redirects http to https. This is causing redirect chains. What can I do?
                  WebQuest
                  WebQuest
                  0
                  2
                  130

                • To redirect or not to redirect...That is the question
                  EGOL
                  EGOL
                  0
                  3
                  189

                • Canonical issue
                  AlanMosley
                  AlanMosley
                  0
                  7
                  113

                • Redirection
                  Aleyda
                  Aleyda
                  0
                  3
                  144

                • How to do this 301 redirection
                  AndieF
                  AndieF
                  0
                  3
                  111

                • Which redirect to use when redirecting to https page from http page
                  AlanBleiweiss
                  AlanBleiweiss
                  0
                  2
                  302

                • How do I do a 301 Redirect in IIS 7 from http://www.freightmonster.com/index.html to http://freightmonster.com/index.html when I don't have a physical page to redirect?
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  4
                  1.0k

                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