Reputation: 1
I use linux and all file .html onpage: No database: I want to redirect this:
http://example.com/?page=/mylinks.html
to this:
http://example.com/mylinks.html
in the ".htaccess" file, or some alternative.
Thank!
Upvotes: 0
Views: 61
Reputation: 2944
Try this:
RewriteEngine On
RewriteCond %{QUERY_STRING} page=(.*)
RewriteRule ^$ %1 [L]
Upvotes: 0