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. Web Design
    4. I want to create a 301 redirect on a WordPress site, nothing's working...

    I want to create a 301 redirect on a WordPress site, nothing's working...

    Web Design
    4 4 129
    • 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.
    • maxcarnage
      maxcarnage last edited by

      Hello all,

      I'm hoping someone out there can give me a hand with this. I'm trying to modify my .htaccess file so that the site will go from maxcarnagemusic.com to www.maxcarnagemusic.com and also, so viewers will be redirected to www.maxcarnagemusic.com/home when they try to access the site. I've tried a few different things, including adding the 301 redirect plugin for Wordpress, but nothing seems to work.

      Can someone out there show/tell me how to create an htaccess file that will execute as much. I apologize in advance, my Apache experience is very, very limited. Thank you all in advance!

      1 Reply Last reply Reply Quote 0
      • Verve-Innovation
        Verve-Innovation last edited by

        Hi,

        If you are using wordpress then you should be able to change that from setting >> General >> Site Address & Wordpress Address URL . Did you try that.

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

          A common thing a lot of people run into is using Apache redirect rules on nginx servers. Your server headers return nginx. I don't have any real world experience with nginx. Perhaps someone else does. In the mean time, here's a link from the official nginx docs which should help you with the nginx rewrite module.

          Have fun storming the castle!

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

            Hi J.P.! Did you ever get it working? 🙂

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • What's the world's best hosting?
              Cannetastic
              Cannetastic
              0
              5
              178

            • Does having too many wordpress portfolio pages with little content hurt a site's SEO?
              Vijay-Gaur
              Vijay-Gaur
              0
              2
              209

            • May open the site's homepage...?
              KristinaKledzik
              KristinaKledzik
              0
              2
              187

            • 301 htaccess redirect or 301 HTTP DNS Redirect
              OlegKorneitchouk
              OlegKorneitchouk
              0
              2
              1.4k

            • Unable to set preferred domain, can I verify a site that's already redirected?
              ThompsonPaul
              ThompsonPaul
              0
              6
              965

            • 301 redirects from old site to new
              jaychow
              jaychow
              0
              3
              977

            • Site Re-Design - Running old XML site map for 301's
              Khem_Raj7
              Khem_Raj7
              0
              3
              427

            • Can't figure out what's going on with these strange 403's
              AlanMosley
              AlanMosley
              0
              6
              513

            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