• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 121
  • Last Modified:

modrewrite question dealing with seo

I am switching an entire site from http://  to https://. I want to know if I use the below code in my htacces file will google see my pages as the same pages.  Will all the pages have to re-rank?

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.thecowboyshoponline.com/$1 [R=301,L]
#

Open in new window

0
Luey
Asked:
Luey
1 Solution
 
GaryCommented:
301 tells Google et al the page has been moved so there is no effect on SEO (or at least discernible impact)

http://moz.com/learn/seo/redirection
0
 
LueyAuthor Commented:
Cool, thanks Gary
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now