QUESTION index.php to / - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: QUESTION index.php to / (/showthread.php?tid=7935) |
index.php to / - wakh - 2016-02-06 how to make redirect from mysite.ru/index.php to mysite.ru/ for main page? PS I'm using fancy URLS RE: index.php to / - wakh - 2016-02-07 Code: RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ This works fine. RE: index.php to / - datiswous - 2016-02-08 Normally you don't see index.php in the url, so I don't see why you would need that. RE: index.php to / - shawn_a - 2016-02-09 So people cant bookmark or use old urls that are not fancy. This is a method of forcing canonical urls, it might be wise to modify that regex to also pass the id? arguments as a second pathing id also or whatever your permalink structure is index.php?id /id/ |