How to remove .html, .php, etc (extension) from URL?

7 years ago

To remove the .html extension from your urls, you can use the following code in root/htaccess : [crayon-692a54371c1c4026649311/] NOTE: If…

Redirect non-www to www and HTTP to HTTPS using htaccess

Below snippet shows how to redirect a site from non-www to www (or viceversa) and from HTTP to HTTPS. To…

7 years ago

.htaccess file useful snippets

If you get 404 page not found error after installation. In this case your server needs the RewriteBase option to…

8 years ago

Redirect non-www to www in .htaccess

Below snippet shows how to redirect a site from non-www to www [crayon-692a54371cc26619160996/] or [crayon-692a54371cc29214212550/] or Here's the correct solution…

8 years ago

Common .htaccess file Redirects

Below shows common redirects using htaccess file. [crayon-692a54371cd07188945779/] The CI .htaccess shouldn't be in the application folder; it should be…

8 years ago