Results 1 to 11 of 11
May 31, 2012, 00:12 #1
- Join Date
- May 2012
- 0 Post(s)
- 0 Thread(s)
Redirect index.php without parameters
I would like to ask for help on how to redirect index.php file to homepage if the file doesn't contain any parameters.
My scenario is:
http://www.mydomain.com/index.php should redirect (301) to http://www.mydomain.com/
http://www.mydomain.com/index.php?anyParam=anyValue should not be redirected.
Thanks in advance.
Last edited by ScallioXTX; May 31, 2012 at 03:19. Reason: delinkified example URLs