Your SlideShare is downloading. ×
How to perform 301 Redirect & Improve SEO
How to perform 301 Redirect & Improve SEO
How to perform 301 Redirect & Improve SEO
How to perform 301 Redirect & Improve SEO
How to perform 301 Redirect & Improve SEO
How to perform 301 Redirect & Improve SEO
How to perform 301 Redirect & Improve SEO
How to perform 301 Redirect & Improve SEO
How to perform 301 Redirect & Improve SEO
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

How to perform 301 Redirect & Improve SEO

721

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
721
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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 301To redirect entire site: Redirect 301 / http://www.new-site.com/ rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]you cane learn about rewriterule herehttp://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

×