How to parse the php code in .shtml file. Ans : If you want to use php code in .shtml file then you need to add the following handler in .htaccess file. AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml .shtml...
Category: htaccess
redirect all URLs to anoter blog URLs
If you want to redirect all the URLs from one blog to another blog URLs then add the following rewrite rules in .htaccess files. Example : I have redirected my old blog from "http://www.bestdesigns.co.in/blog to my new domain http://www.indianwebportal.com. I...
How to redirect from http to https
If you want to redirect all the URLs from http to https then add the following rules in .htaccess files OR Redirect from http://domain.com/anything to https://domain.com/anything For Example : Redirect from http://indianwebportal.com/anything to https://www.indianwebportal.com/anything ================================= RewriteEngine On RewriteCond %{SERVER_PORT} 80...
https to http redirection
How to redirect domain from https://domain.com to http://domain.com ? Ans: If you tried all the possibilities with the .htaccess file and your domain is still not redirected from https to http then finally you can add following code in virtual...