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 MoreHtaccess
Disable cache in server using htaccess
Disable cache in server using htaccess after refreshing showing same page in Codeigniter, after logout in showing active sessions again in codeigniter, stores in caching …
Read MorePageSpeed: Leverage browser caching
PageSpeed: Leverage browser caching Find your .htaccess file in the root of your domain. This file is a hidden file but should show up in …
Read More.htaccess redirect http to https
use the following to redirect all pages of my domain from http to https: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Read MoreRedirect all url with a query string in php
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{QUERY_STRING} !(^|&)testing=true(&|$) [NC] RewriteRule ^ %{REQUEST_URI}?testing=true [L,QSA,R] RewriteCond %{REQUEST_FILENAME} !-f …
Read MoreAppend a query string to any url requested from my website in Codeigniter
Append a query string to any url requested from my website in Codeigniter. Example. Url will look LikeExample. Url will look Like example.com example.com/product example.com/search?q=string …
Read MoreRouting using htaccess
RewriteEngine on RewriteBase / ###Maintainance ## RewriteRule ^maintainanace/$ maintain.php RewriteRule ^logout/$ logout.php RewriteRule ^logout$ logout.php RewriteRule ^products/([^/]*)/([^/]*)/$ products.php?slug=$1&id=$2 [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