Tags » Htaccess

How to Stop Web bots and Spiders ,Blocking Ahrefs,Majestic SEO OSE Spiders Crawlers

On WWW , many spiders and crawlers lurks around scrapping website data.Most of them are really nothing but proxy based bots that use to spam blogs and website , or scrape contact emails , I really get angry when i have to sort out spam comments and real ones…Its too much time consuming process and make has to do with you INBOX. 101 more words


Lessons learnt today: Double quotes, redirection and rubbish routers

I haven’t posted here in a long while, and no doubt that will continue unfortunately. However, tonight I’ve learnt (or in some cases re-learnt) a few, albeit simple, lessons and it felt sensible to note it down so I can remember in the future. 754 more words


Cakephp 2.5.4 AND Linux Mint 17

I have been using CAKEPHP a few times now. However, this was the first time I tried to use it with Linux Mint 17.After placing the CakePHP folder on my apache server. 124 more words


Domain Redirection via .htaccess while keeping other url parameters.

Lets say if you want to redirect your visitors from  http://www.domainA.com/?p=667 to http://www.domainB.com/?p=667

you can achive this via adding following code to your .htaccess file. 50 more words


How to speed up the your site ?

Hi Friends,

Add the below coding in your .htaccess file

RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 
#RewriteRule ^(.*)$ /index.php?q=$1 
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule> 90 more words
PHP Developer

Htaccess - Cache Expiration Time

## Optional caching improvements
## Requires mod_header and mod_deflate to be enabled within Apache
<IfModule mod_headers.c>
Header unset Pragma
FileETag None
Header unset ETag…
123 more words


Add www To All URLs With htaccess

For SEO it is important to use a set standard of how you present your domain. The most popular approach is to use the sub-domain www. 364 more words