Jump to content

Redirect Crawling Errors - 301 htaccess


DV-JF
 Share

Recommended Posts

Hello,

after relaunching a website I want to redirect all my old URLs to the new structure. Here's the problem:

When i try to add

Redirect 301 /index.html /startseite

I get the following result:

http://www.domain.de/startseite?it=index.html

Is there a simple way to do what I want and get rid of "?it=index.html"?

Greets Jens alias DV-JF

Link to comment
Share on other sites

Check out this awesome module from apeisa, which lets you set up your rewrite rules in the Pw Admin:

http://modules.proce...cess-redirects/

If you still want to add your redirects in the .htaccess, this is the way I normally do it (not testet)

RewriteRule ^index.html$ /startseite/ [R=301,L]
//Make sure your redirect is above the following Code..
RewriteCond %{REQUEST_URI} "^/~?[-_.a-zA-Z0-9/]*$"

Argh soma :P My excuse beeing slow: I'm from berne... *chch*

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

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

×
×
  • Create New...