I am trying to redirect the page from mysite.com/page1?id=37773 to mysite.com/page1/37773.
I tried seraching on various blogs where i found them trying with php files but even when i copied and rewrite it wont work so i am here to get help of exprets .Thanks in advance.
what i have tried so far
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html [NC,L]
RewriteRule ^page1/([a-zA-Z_-]+).html$ page?id=$1
2
Answers
what i did:-
You can try this :