5min job, what I currently have is Options +FollowSymlinks RewriteEngine On RewriteRule ^([A-Za-z]+)$ index.php?page=$1 [QSA] Code (markup): if you visit website.com/test it will load index.php?page=test if you load website.com/css/style.css it will load the actual file, now what I need is to make it so when person loads website.com/page/subpage it will request that page through index.php?page=page/subpage and still load the css files within server easy 5-10$, Pm me
try this: Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)/(.*)$ index.php?page=$1/$2 [NC,L,QSA] RewriteRule ^(.*)$ index.php?page=$1 [L,QSA] Code (markup):
Options +FollowSymlinks RewriteEngine On RewriteRule ^([A-Za-z]+)$ index.php?page=$1 [QSA] RewriteRule ^([A-Za-z]+)$/([A-Za-z]+)$ index.php?page=$1/$2 [QSA]