Forum Moderators: phranque
I used to have a index.php file under wordpress in my root directory which of course generates queries for "next pages" and the like, such as:
example.com/index.php?c=81&s=11 etc
I want to redirect all cases of index.php to index.html or rather just the example.com as I don't use index.php any longer.
I have the following code in my .htaccess file:
Redirect 301 /index.php http://www.example.com/?
Which does the trick except it leaves the "?" at the end. if I remove the "?" at the end the complete query string is shown, ie: example.com/?c=81&s=11
Any ideas? Thanks.