How to redirect your WordPress site’s domain from non-www to www or vice versa. If you go to https://www.wordpress.org, you’ll see the URL changes a …
Read MoreTag: Htaccess
Php- Remove index.php from url in Codeigniter
Php- Remove index.php from url in Codeigniter RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^/(index\.php|assets/|humans\.txt) RewriteRule ^(.*)$ index.php?/$1 [L]
Read MorePhp – Remove index.php from url and redirect to https in Codeigniter
Php – Remove index.php from url and redirect to https in Codeigniter:: RewriteEngine on Rewritebase / RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] …
Read MorePhp – Define caching in Htaccess
Define caching in Htaccess:: ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg “access 1 year” ExpiresByType image/jpeg “access 1 year” ExpiresByType image/gif “access …
Read MoreRemove index.php From Url in Codeigniter
Remove index.php From Url in Codeigniter RewriteBase / RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^/(index\.php|assets/|humans\.txt) RewriteRule ^(.*)$ index.php?/$1 [L]
Read MoreHtaccess help
http://serverfault.com/questions/99050/how-do-you-do-wildcard-subdomains/99051 https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=wild+card+subdomain+htaccess&*
Read More