Anyways, this is my .htaccess file,
RewriteEngine on RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .* - [L] RewriteRule ^(.*)$ http://localhost/PhpStormProjects/CMS/index.php?page=$1 [NC]and this is working great for the index page when you're on a page, index.php?page=Home turns into just Home. Fine, right?
But what if I wanted to add another RewriteRule to the index page, say, index.php?articles=$1.
I tried adding a new rule just like that but then everything turns into articles. Or can you somehow "fake" a folder.
I'm using a template system so all the content goes on the index page even blog post/articles.
And currently I'm just linking each article to index.php?article=id but I'd love for it to be like http://localhost/PhpStormProjects/CMS/Articles/id without having a real articles folder, if you get what I mean.
Is that even possible?