Skip to content

David Yin's Blog

Tech geek. Life geek.

  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
  • Gallery 3 – G3Grey Theme
David Yin's Blog
  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
  • Gallery 3 – G3Grey Theme

Tag: htaccess

Posted on June 11, 2015December 31, 2015 L.A.M.P. Web & Network

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...

Posted on January 15, 2014November 21, 2018 Web & Network

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...

Posted on November 1, 2010March 19, 2019 Web & Network

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...

Posted on September 22, 2010March 16, 2019 L.A.M.P.

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...

Posted on July 22, 2010March 16, 2019 Web & Network

How to stop access by country IP blocks

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....

Posted on April 8, 2010March 16, 2019 L.A.M.P. Web & Network

Turn off register_globals in 1&1 linux hosting

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...

Posted on July 22, 2009April 20, 2018 DreamHost Log L.A.M.P.

How to increase Yslow score from C to B at Dreamhost

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...

Posted on May 11, 2009March 19, 2019 Notes of MovableType Web & Network

Run php from HTML file

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...

Posted on October 17, 2008March 19, 2019 Web & Network

Making site stats accessible with htaccess

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...

Posted on September 10, 2008March 19, 2019 L.A.M.P. Notes of MovableType

Assets Directory of MovableType

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...

Posted on January 5, 2008February 18, 2014 L.A.M.P. Web & Network

Make a customized 404 error page

The 404 error or Not Found error message is an HTTP standard response code indicating that the client was able to communicate with the server but either the server could not find what was requested, or it was configured not...

Posted on May 1, 2007March 19, 2019 Web & Network

Joomla on 1and1 shared server

I have a installation on 1and1 shared server, beginner package. In the Administrator, back-end, I got the warning as below:

Share

RSS
Facebook
fb-share-icon
Twitter
Post on X


Tags

"new features" "Windows 7" backup benchmark beta Blog bug calibre Canada Centos Code dreamhost error Firefox firmware fix freeware game Google how-to installation internet Linux MovableType MT MySQL performance PHP plugin release review router security server software SSD test tool ubuntu update upgrade voip VPS windows wordpress

Useful links

  • Alive Math Worksheet
  • Free InOut Board
  • Web Site Directory
  • Free Thinking
  • Dba notes
  • aw’s Blog
  • OneLaunch

Categories

  • 3D Printing (3)
  • Digest (79)
  • DreamHost Log (41)
  • Hardware (412)
  • Independent Thinking (28)
  • Insurance (5)
  • jQuery (9)
  • L.A.M.P. (291)
  • Money Maker (22)
  • My Life (144)
    • Journey of Faith (7)
    • Shanghai food (2)
  • Notes of MovableType (127)
  • phpBB Mod & Tips (15)
  • Reviews (176)
    • Freeware Review (43)
  • Save Money (2)
  • SEO & SEM (12)
  • Software (278)
  • Two Week Campaign (13)
  • Uncategorized (1)
  • Vehicles (16)
  • VOIP (38)
  • Web & Network (421)
  • WordPress Notes (54)

Archives

My Mastodon Social Account.
© 2025 David Yin's Blog / Powered by WordPress / Theme by Design Lab