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. 301 redirectmatch

    301 redirectmatch

    Technical SEO Issues
    3 2 313
    • 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.
    • Stefan-Thorpe
      Stefan-Thorpe last edited by

      I think I'm starting to loss my mind.

      I have worked with regex before with very little problems how with my redirects nothing appears to be working. A little guidance is needed!

      The Low down

      I have a site with Joomla CMS backend.

      The site is undergoing and SEO overhaul

      I was simple hoping to use a 301 redirect o these old pages that are now a causing 404's

      The addresses

      /index.php?option=com_content&view=article&id=46&Itemid=53_blank

      /shop/product.php?id_product=11

      I have tried the following redirects but no avail

      RedirectMatch 301 ^/shop/product.php?id_product=11$ http://www.nomitang.com/index.php/en/vm_getaway_w this does not work at all

      if I remove the ?.....ending then I can simply redirect the product page but this is not what we need.

      Why does RedirectMatch not register anything after the "?"?

      I also tried this

      RewriteCond %{HTTP_HOST} ?option=com_content&view=article&id=46&Itemid=53_blank [NC]
      RewriteRule ^(.*)$ http://www.nomitang.com/ [R=301,L]

      But this also didn't work.

      Please could someone tell me how to redirect these url's and how to deal with the extrension

      Thanks

      Stefan

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

        Hey Stefan,

        You didn’t mentioned the version of Joomla you are using at the moment so it’s difficult to come up with the exact solution but why don’t you use URL redirection module

        Check this out and this might help! http://www.seoeducation.in/how-to-redirect-url%E2%80%99s-in-joomla-with-sh404sef-module

        Thanks!

        Stefan-Thorpe 1 Reply Last reply Reply Quote 0
        • Stefan-Thorpe
          Stefan-Thorpe @MoosaHemani last edited by

          Hi

          I'm actually using 2.5.

          I will take a look at the module but for my own piece of mind, I would like to understand how to use Redirectmatch\RewriteRule better.

          Thanks

          Stefan

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • To 301 or not to 301?
            iHasco
            iHasco
            1
            4
            70

          • Trailing slash on the main website - do i need a 301 ? Is my 301 correct?
            advertisingcloud
            advertisingcloud
            0
            4
            109

          • 301 with nofollow ?
            indigoextra
            indigoextra
            0
            4
            5.8k

          • 301 redirects
            nyc-seo
            nyc-seo
            0
            3
            194

          • Where is the 301 redirect?
            JarnoNijzing
            JarnoNijzing
            0
            2
            189

          • Ideally should a 301 or 302 redirect be used from https://www.site.com to http://www.site.com? Is there a valid reason to use a 302 in this situation or would using a 301 have any negative impact on seo?
            Unity
            Unity
            0
            2
            317

          • 301 redirects
            vibelingo
            vibelingo
            0
            5
            255

          • 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

          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