Hie guys, I’ve an issue with the mod_rewrite, is about remove the whole example.com/index.php?page=’home’ to example.com/page/home i tried but stil with no success but only the index.php is gone there is my .htaccess look like:
With this, if the user types in “http://localhost/hector/page/cheeseburgers“ the page “http://localhost/hector/index.php?page=cheeseburger“ is requested, but the user sees “http://localhost/hector/page/cheeseburgers“ in their address bar. Still needs a regex to strip trailing slashes.
From your example, it looks like you’re reversing this, which would cause a 404 error, if I’m not mistaken? *flounders*