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

6 years ago

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

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

7 years ago

Redirect non-www to www in .htaccess

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

7 years ago

Common .htaccess file Redirects

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

7 years ago