Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove index from subpage path with mod_rewrite?
#3
yojoe Wrote:RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index/$1 [L]

I tested that in the .htaccess but the links to subpages in the submenu were not modified, so calling these subpages the URLs still contained /index/ and by that I ran into an error
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
Remove index from subpage path with mod_rewrite? - by Connie - 2011-06-25, 15:54:52



Users browsing this thread: 1 Guest(s)