Tag: htaccess

Fix some Crawl errors of my blog

I found some errors in Google Search Console —  Crawl Error. More than 400 errors of Not-Found. After checking the details of these errors, I am noticed that they are the dead links which were brought after I converted this blog from MovableType to WordPress. Some links are changed and I forgot to implement the

How to block the hotlink by referrer

Blocking users or sites that originate from a particular domain is a very useful trick of .htaccess. Lets say you check your logs one day, and see tons of referrals from a particular site, yet upon inspection you can’t find a single visible link to your site on theirs. The referral isn’t a “legitimate” one,

How to enable php5 at 1and1

With 1&1 Linux hosting packages you have the choice between PHP4, PHP5 and PHP6. 1&1 Web Hosting packages use PHP4 as default for all .php files. Why 1and1 still using php4 as default? It is too old. A lot of program are not support php4 any more. Just like phpBB 3. You may choose to

Why .htaccess does not work

Last Friday, I put an .htaccess file into one folder of my site. The function of this htaccess is to make it auto redirect to other path. The problem is it is not working. I do have use this kind of code many times. Why it does not work any more? It looks the Apache