[Solved] htaccess redirect all pages with parameters

You could put this in your .htaccess file: RewriteEngine On RewriteRule ^(.+)$ home.php?page=$1 [QSA,L] This will do what you want, except for the parameters passed, they will show up in there original form: www.site.com/file.php?a=b&c=d -> www.site.com/home.php?page=file.php&a=b&c=d 1 solved htaccess redirect all pages with parameters

[Solved] How to rewrite URLs for readability [closed]

In your .htaccess file make sure you have RewriteEngine on and do the following: RewriteRule ^image/([0-9]+)$ image.php?id=$1 [L] For instance: RewriteEngine on RewriteRule ^image/([0-9]+)$ image.php?id=$1 [L] This is assuming you’re running a webserver that can handle .htaccess – you may also need to enable mod_rewrite Enabling this is dependent on the webserver you’re running, if … Read more

[Solved] Hide “index.php” from “www.blahblah.com/index.php”

create .htaccess file then copy the code below change ‘project_folder_name’ of the folder of your project if your project is in the root folder just put “https://stackoverflow.com/” <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /project_folder_name # Removes index.php from ExpressionEngine URLs RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC] RewriteCond %{REQUEST_URI} !/system/.* [NC] RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L] # Directs all EE … Read more