2
RedirectPermanent /forum-old-f48.html /forum-neu-f1.html

301 Result:

forum-neu-f1.html?f=48&start=

Target: Dont append the "?f=48&start=" part. How can I make a stop behind the html?

The result should look like this:

forum-neu-f1.html

thank you!

1 Answer 1

0

To strip off query string you need to use mod_rewrite rule. Have this rule in root .htaccess:

RewriteEngine On

RewriteRule ^forum-old-f48\.html$ /forum-neu-f1.html? [L,NC,R=301]

You should test it after clearing your browser cache.

1
  • 1
    works like a charm. Thank you very much anubhava. I will accept the answer in 6 minutes :)
    – labu77
    Commented Feb 26, 2015 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.