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 redirect from dynamic url to static page

    301 redirect from dynamic url to static page

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

      Hi,

      i want to redirect from this old link

      http://www.g-store.gr/product_info.php?products_id=1735/

      to this one

      https://www.g-store.gr/golf-toualetas.html

      I have done several attempts but with no result. I anyone can help i will appreciate. My website runs in an Apache server with cpanel.

      Thank you

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

        Ahh the dreaded redirect of a URL with a querystring. I would advise you to do it via cpanel (which you should have as part of your web host). Here are instructions via Bluehost.com: https://my.bluehost.com/hosting/help/redirects. You essentially paste in the old link and then paste in the new link, hit a button and the redirect is implemented into the .htaccess file automatically.

        Otherwise, you'll need to redirect via mod rewrite. Here's a good article: https://perishablepress.com/redirect-query-string-htaccess/

        Thanks!

        John

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

          Unfortunately this works only with static Urls. When i am trying to to do this through cpanel like this

          https://imgur.com/cVDFgit

          the result is this

          https://imgur.com/dQDXuMC

          As you can see cpanel "cuts" the dynamic part of url

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • URL structure change for pages without traffic: 301 redirect or not ?
            BlueCorona
            BlueCorona
            0
            5
            96

          • Advice on whether we 301 redirect a page or update existing page?
            tomwhite
            tomwhite
            0
            2
            83

          • 301 redirects - one overall redirect or an individual one for each page url
            Kurt_Steinbrueck
            Kurt_Steinbrueck
            1
            4
            160

          • 301: Dynamic URL to Static Page
            Aleyda
            Aleyda
            0
            7
            3.9k

          • After I 301 redirect duplicate pages to my rel=canonical page, do I need to add any tags or code to the non canonical pages?
            Mike.Goracke
            Mike.Goracke
            0
            2
            125

          • I have altered a url as it was too long. Do I need to do a 301 redirect for the old url?
            TomRayner
            TomRayner
            0
            4
            181

          • Is it better to delete web pages that I don't want anymore or should I 301 redirect all of the pages I delete to the homepage or another live page?
            EGOL
            EGOL
            0
            2
            417

          • On Page 301 redirect for html pages
            randfish
            randfish
            0
            7
            1.6k

          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