If you have more than one domain name with differing suffixes such as: www.domain.com www.domain.co.uk If you need to point the .co.uk domain to the.com domain then enter the following code into your .htaccess file RewriteEngine on RewriteCond %{HTTP_POST} !^www.domain.com
Redirecting Domain Names
If you have to change your domain name and you want to point more than one domain to one specific domain then the best thing to do is redirect them via a 301 redirect to one of the domains. RewriteEngine
Redirect default pages to the domain root
If you have pages such as index.php, or index.htm on your site and people link to these sites then you will hav duplicate content listed by search engines via www.domain.com and www.domain.com/index.htm etc. The way to get around this is
HTML Table Trick
If you have constructed your web pages by using one large table for your pages, (then shame on you – learn CSS), you can still show the search engine spiders your content first, instead of the navigation panel instead everytime.
How to Avoid HTML Insertion Attacks
You should always remember to escape your code before you submit or reference any $_GET or $_POST variables in PHP. If you do not then someone can send url links into the GET or POST sections of a url and
Inform Google about Sitemap updates
You can inform good about updates by sending them a ‘ping’. You can do this manually, but it can also be done programmatically and then be called by cron or at the end of the script which creates your Google
Map a Domain Name to an IP address on a PC
If you have decided to move your hosting provider and set up a new account but have not moved your domain name yet there is a way to map your domain name in windows to your new IP address at