htaccess redirect 301

  • Status: Pending
  • Prize: $30
  • Entries Received: 4

Contest Brief

I need the correct string to redirect on .htaccess file a php page to a new rewrited page on Prestashop 1.5.4.1
example:
Redirect 301 /models.php?line=1&brand=27&unit=135 /it/2754-Armani-jeans-blue

explanation: the old site is'nt in prestashop but in another php cms, the new site has same domain and same products but different url organization (multilingual and friendly urls activated) so for many products and categories well positioned on search engines I need to redirect 301 the old link on new links. I've tried several solutions to write the correct string to obtain the result but nothing

Recommended Skills

Public Clarification Board

  • webgrafia13
    webgrafia13
    • 10 years ago

    Please make the contest guaranteed

    • 10 years ago
  • jmagrinya
    jmagrinya
    • 10 years ago

    At the last line you have to add 'L' to the rule.

    RewriteRule ^/models.php?line=1&brand=27&unit=135 /it/2754-Armani-jeans-blue$ http://new-url [R=301,L] , if it's the las line.

    • 10 years ago
  • jmagrinya
    jmagrinya
    • 10 years ago

    RewriteEngine On
    RewriteRule ^/models.php?line=1&brand=27&unit=135 /it/2754-Armani-jeans-blue$ http://new-url [R=301]

    • 10 years ago

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!