Jump to content

Remove IT= from 301 redirected urls


floridaDev
 Share

Recommended Posts

When I redirect urls using .htaccess file the page gets redirected along with additional IT= paramaters that I want removed.

Example:

Redirect 301 /page-one/ /page-two/

The page gets redirected to website.com/page-two/?it=page-one

Looking though the .htaccess file I see the following line is active

  RewriteRule ^(.*)$ index.php?it=$1 [L,QSA]

Removing it=$1 makes my redirects go to index.php 

How can I properly get these pages redirected without the trailing IT=<page-url>

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...