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. Intermediate & Advanced SEO
    4. Url rewrite & 301 redirects

    Url rewrite & 301 redirects

    Intermediate & Advanced SEO
    4 3 295
    • 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.
    • vividwebdesign
      vividwebdesign last edited by

      Hi all

      I am having some issues rearding url rewrites and 301 redirects with 1 and 1 hosting and am unsure of the best approach. The website is a custom made shopping cart system with categories and products.

      The current urls for categories are : index.php?l=product_list&c=1      The new url format required is : /banner-stands

      The current urls for products are : index.php?l=product_detail&c=1&p=1      The new url format required is : /banner-stands/banner-stand

      Thanks

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

        Here is a lot of resources on 301 redirects. I do not need to go overboard however I believe the first few URL should get you there.

        If you using a CMS like WordPress and you tell me it would be a lot easier troubleshoot

        http://moz.com/learn/seo/redirection

        http://www.internetmarketingninjas.com/tools/

        http://www.internetmarketingninjas.com/blog/search-engine-optimization/301-redirects/

        http://www.internetmarketingninjas.com/301.html

        http://www.webconfs.com/redirect-check.php

        http://www.somacon.com/p145.php

        http://www.ragepank.com/redirect-check/

        http://www.internetofficer.com/seo-tool/redirect-check/

        http://www.ragepank.com/articles/php-redirect-function/

        http://www.seoworkers.com/seo-articles-tutorials/permanent-redirects.html

        http://perishablepress.com/permanent-301-redirect-via-php-or-htaccess/

        http://www.phpjunkyard.com/tutorials/php-redirect.php

        Sincerely,

        Thomas

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

          You would point like this using your .htaccess:

          redirect 301 /index.php?l=product_list&c=1  http://www.yourdomain.com/banner-stands

          redirect 301 /index.php?l=product_detail&c=1&p=1  http://www.yourdomain.com/banner-stands/banner-stand


          the /index.php?l=product_list&c=1 is the old one that your want to 301 redirect.

          BlueprintMarketing 1 Reply Last reply Reply Quote 0
          • BlueprintMarketing
            BlueprintMarketing @Francisco_Meza last edited by

            Can you show me the URL?

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • 301 vs Canonical - With A Side of Partial URL Rewrite and Google URL Parameters-OH MY
              TStorm
              TStorm
              1
              3
              53

            • URL Too Long vs. 301 Redirect
              Corbec888
              Corbec888
              0
              4
              54

            • Htaccess or url rewrite module for Magento 301 redirects?
              DmitriiK
              DmitriiK
              0
              4
              657

            • SEO impact difference between a URL Rewrite and 301 redirect
              WilliamKammer
              WilliamKammer
              0
              2
              2.2k

            • How to redirect an url in .htaccess when "redirect 301" doesnt work
              WilliamKammer
              WilliamKammer
              0
              5
              173

            • 301 redirect to a temporary URL
              AlanMosley
              AlanMosley
              0
              4
              211

            • 301 Redirect To Another 301 Redirect
              cbielich
              cbielich
              0
              5
              247

            • Why isnt my crawl results showing a 301 redirect even though I have a 301 rewrite in my .htaccess file?
              PCTechGuy2012
              PCTechGuy2012
              0
              8
              462

            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