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
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
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
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
You may be tired of deleting spams or spammer account from your site. Sometimes your site is in the list of spammer. And also most of time the spammer are coming from the following top 10 countries. 1. Korea 2. China 3. India 4. Russia 5. Turkey 6. Viet Nam
It is shared hosting account. Some php program ask for register_globals to be turned off. The default is on. How can I turn off it? I can not touch php.ini. So go for .htaccess. Just add one into it. AddType x-mapp-php5 .php 1and1 php5 engine set register_globals off by default.
I have a small site hosted on Dreamhost. Yslow Score with default setting is C, or 77. Later I do the following optimization to increase it to B, or 89. Based on Yslow v2 test. The key is to change .htaccess file. Put following content into .htaccess file on root
The scenario is I have a blog powered by Movabletype. All html files. Later I need it to be running like a php file. Then I can add php codes inside without changing extension name from html to php. I’d like to keep the URL. The blog is about five
Dreamhost has a site stats facility included. But sometimes it is not accessible because of the .htaccess file. Say WordPress or some customized .htaccess file which will change the rewrite rule. To make it works, add following code in top of the .htaccess file.
There is a folder under the MovableType installation. It is used to store the files uploaded. The default is assets_c. Because of I manually setup the .htaccess file to convert all underscore(_) to dash(-). The link or file under assets_c will be redir to assets-c. And got the 404 error.