Hi,
I try to do this:
from
http:/ /www.domain.com/page.php?section=first-chapter
an redirect to:
http:/ /www.domain.com/first-chapter
I was trying with this rule:
RewriteCond %{QUERY_STRING} ^section=(.*)$
RewriteRule ^page.php$ /%1 [R=301,L]
and the result was:
from
http:/ /www.domain.com/page.php?section=first-chapter
and the redirection was:
http:/ /www.domain.com/first-chapter?section=first-chapter
how can remove the "?section=first-chapter" parameter?
thanks for help.