The below code will automatically redirect any traffic from http://www.scriptplazza.com to https://scriptplazza.com.
↳ Added by admin on December-22-2016
If you are using service like CloudFlare or other CDN service and you want to block or allow some IP(s) from your website add following snippet in your .htaccess file.
↳ Added by admin on April-13-2013
Redirect Visitors To a New Page / Directory using following .htaccess snippet.
↳ Added by admin on July-21-2011
To redirect www.scriptplazza.com to scriptplazza.com without specifying the domain name use following snippet.
↳ Added by admin on May-6-2011
To ban a user from a certain IP Address add the following code in your htaccess file and change the IP to suit your needs.
↳ Added by admin on January-10-2011
With this snippet you can redirect visitors to a maintenance page or other temporary page.
↳ Added by admin on December-31-2010
Simply replace the IP adress on line 3 by the spammer’s IP. You can add more spammers by creating a new line with deny from xxx.xx.xxx.xxx inside.
↳ Added by admin on December-25-2010
To remove the .php extension from Url add the following code inside the .htaccess file.
↳ Added by admin on October-11-2010
This is the smarter way to prevent image hotlinking with .htaccess.
↳ Added by admin on September-15-2010
This tiny snippet redirect all pages of an entire site to the main page of another domain.
↳ Added by admin on July-25-2010