15
301 redirect is a catch phrase often used in SEO where nobody really explains how to do it. Many people feel too dumb to ask "how do I do a 301 redirect?" because they feel they should just know what one is.
Use a 301 redirect to move a site from
http://www.oldurl.com/uncool/ (root of the old homepage)
to http://www.newurl.com/cool/
Create a .htaccess file in your root directory. If one already exists then you can just add this line of code to it.
Redirect permanent / http://www.newurl.com/cool/
in addition you can use a 301 redirect to move any given page.
Redirect permanent /bla/bla.html /newspot/bla.html
301 redirects are used to permanently move a site to a new location. Search engines do not apply penalties to 301 redirects the way they apply them to many other types of redirects.
When you create a .htaccess file make sure you transfer it in ASCII and not binary. You will probably want to CHMOD the file to 644 for security reasons as well. .htaccess is an Apache technology and not a windows server technology. Learn more about .htaccess




comments
Login or Register to post comments.