Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
How to perform 301 Redirect & Improve SEO
1. How To Do 301 Redirect with
htaccess
By Ketan Raval
ketan@letsnurture.com
@ketanraval
2. 301 Redirect And SEO
• 301 Redirect means “Moved Permanently”
• 301 redirect is the most efficient and Search
Engine Friendly method for webpage
redirection.
3. Why 301 Redirect?
• www.xyz.com vs http://xyz.com both are treated separately
by Search Engines. So , if you are doing seo for www.xyz.com
and google is indexing http://xyz.com , google may not
consider your seo efforts in search engine rankings.
• Google recommends using a 301 redirect to change the URL
of a page as it is shown in search engine results
4. Preserve SEO Efforts while Page Change
• During SEO Efforts if you were working on seo.html and after couple of
months you change it to seo-services.html .
• Following things will happen
• All backlinks/references you have created for seo.html will loose its value
• Everyone clicking on external backlink will get 404 Error Page because
there wont be any seo.html
• Setting up 301 Redirect from “seo.html” to “seo-services.html” will
redirect all references/ visitors to new page and you will be able to
preserve all SEO Efforts.
• In Future there is a chance that 301 Redirect will preserve Twitter share,
Facebook Share etc for old page to preserve Social Share Value also.
5. How to 301 Redirect with htAccess
• It is not difficult to implement 301 Redirect with htaccess file in your root
director.
• If you do not have .htaccess file you may need to create on file and put
code in to it.
6. Redirect to Old Domain to New Domain
with 301
To redirect entire site:
Redirect 301 / http://www.new-site.com/
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
you cane learn about rewriterule here
http://www.askapache.com/htaccess/modrewrite-tips-tricks.html
7. Old Page to New Page with 301
If you want to redirect visitors from Old Page to New Page ..
• To redirect certain pages:
Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html
Redirect 301 /oldpage2.html http://www.yoursite.com/folder/
8. SEO friendly URL instead of dynamic URL
with 301
RewriteEngine on
RewriteCond %{QUERY_STRING} ^id=13$
RewriteRule ^/page.php$ http://www.example.com/newname.htm?
[L,R=301]
9. Get More Knowledge on SEO/PHP/Android Subscribe
to
https://twitter.com/letsnurture
http://www.facebook.com/LetsNurture
www.letsnurture.com/blog
By Ketan Raval
ketan@letsnurture.com
@letsnurture