Sunday, September 6, 2009

Understanding Sneaky Redirects

What are the good redirects and bad redirects(sneaky redirects)?

The redirect of a web page made using Javascript is a sneaky redirect.

Why?


Because search engines ignores javascript. So they don't know even there is a redirect exists.

Which redirecting techniques are good?

Using meta redirect 
<meta http-equiv="refresh" content="2; url=http://web-search-techniques.blogspot.com">
For more info: http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm

Using .htaccess (mod rewrite)

Or use 301(permanent) redirect using .htaccess

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]

For more info on .htaccess 301 redirect: http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm

1 comment:

t28 Tower Noida said...

eally, i am thankful for the new things and i have learned reading from your post also picked up some great ideas.Thanks a lot.
paras the rise tower t28
paras the rize tower t28
paras the rize t28 tower
paras tierea tower t28
paras tierea t28 tower

Post a Comment