This website is dedicated to common, day to day programming and database related Frequently Asked Questions. Popular Programming and Database Articles under one blog
Showing posts with label SEO. Show all posts
Showing posts with label SEO. Show all posts
Thursday, August 2, 2012
Check your website for malware
Check your website for malware using Google Safe Browsing Tool
http://www.google.com/safebrowsing/diagnostic?site=yourwebsite.com
Wednesday, July 18, 2012
Check a website in Google Cache
Use following URL
Replace mywebsite.com with the website url to check without http
Replace mywebsite.com with the website url to check without http
http://webcache.googleusercontent.com/search?q=cache:mywebsite.com
Monday, July 16, 2012
Thursday, November 3, 2011
Redirect to www .htaccess
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Please REPLACE domain.com and www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
Subscribe to:
Posts (Atom)