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

5 years ago

To remove the .html extension from your urls, you can use the following code in root/htaccess : [crayon-66380f8219baa994475388/] 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…

5 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…

6 years ago

Redirect non-www to www in .htaccess

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

6 years ago

Common .htaccess file Redirects

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

6 years ago