| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|index.php to index.html and remove query string|
? still appears
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:
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.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved