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. Redirect /label/ to /tags/

    Redirect /label/ to /tags/

    Technical SEO Issues
    3 2 143
    • 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.
    • Taiger
      Taiger last edited by

      Hi guys, I have noticed loads of errors in webmaster, page not found..

      /label/.....

      what i need to do is to a 301 redirect to /tags/...

      can some one tell me the redirect code to help fix this issue

      Regards T

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

        Hi,

        For questions about redirect Google & Stackoverflow are your best friends:

        http://stackoverflow.com/questions/18998608/redirect-folder-to-another-with-htaccess

        Put this code in your htacess (if you already have rewrite rules you just have to add the rewrite rules (bold) before or after the existing ones and not the rest of the code - difficult to say if it needs to be before or after - it depends on the rules that you already have)

        Options +FollowSymLinks -MultiViews

        Turn mod_rewrite on

        RewriteEngine On
        RewriteBase /

        RewriteRule ^label/(.*)$ /tags/$1 [L,NC,R=301]

        rgds,

        Dirk

        1 Reply Last reply Reply Quote 2
        • Taiger
          Taiger last edited by

          Hi Dirk,

          This is why I love the Moz community.. Thanks you so much for the info, it works a treat.

          Have a great day

          T

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post
          • How to resolve warning of pages with redirect chain when its your http:// to https://www.
            VelocityWebsites
            VelocityWebsites
            0
            3
            186

          • From: http://www. to https://
            Tymen
            Tymen
            1
            4
            121

          • Redirect of https:// to http:// without SSL. Possible or not?!
            LesleyPaone
            LesleyPaone
            0
            5
            336

          • Do I use /es/, /mx/ or /es-mx/ for my Spanish site for Mexico only
            RoxBrock
            RoxBrock
            0
            3
            147

          • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
            Chris-CA
            Chris-CA
            0
            5
            456

          • Do I need to add canonical link tags to pages that I promote & track w/ UTM tags?
            kchandler
            kchandler
            1
            5
            2.8k

          • Http:// vs http://www.
            fun52dig
            fun52dig
            0
            8
            474

          • Redirect or not to redirect
            AlanMosley
            AlanMosley
            0
            7
            458

          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