Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am using the Ghost blogging platform. By default to access the blog you go to blog.my-site.com:2368 of course this makes for a ugly, unfriendly URL. I am using .htaccess to change the behavior so when a person types in blog.my-site.com they see the URL.

I used the following code:

Options +FollowSymLinks -MultiViews  
# Turn mod_rewrite on
RewriteEngine On  
RewriteBase /

RewriteCond %{HTTP_HOST} ^blog.mywebsite.com$ [NC]  
RewriteCond %{HTTPS} off  
RewriteRule ^ http://blog.mywebsite.com:2368%{REQUEST_URI} [P,QSA,L]  

From my understanding this is not a redirect, but rather transparently sends the traffic from port 80 to port 2368.

My question is this:

Does this process have any impact on SEO or, in the views of SEO, it is the same as blog.my-site.com?

share|improve this question
1  
Matt Cutts on different ports and Google: youtube.com/watch?v=5wO-1zvXgzg –  w3d Mar 17 at 8:36
    
@w3d - Thanks for the video! –  Lynda Mar 18 at 2:55

1 Answer 1

up vote 2 down vote accepted

Using the P flag causes the request to be handled by mod_proxy, essentially replacing the "ugly" URL with the more friendly one for both users and search engine bots.

This would likely improve recognition and the likelihood of users clicking on the URL, so in short it would be good for your website's traffic, and certainly not negatively impact your SEO. Much of the links and content you see in search engines are the result of proxies and servers working on different ports in the background, unbeknownst to the client (including bots).

share|improve this answer
    
Thanks for the information! This is a new area for me as I am mainly Front End person. .htaccess and what it contains is foreign to me so I always want to ensure everything is okay. Thank you again! –  Lynda Mar 16 at 22:26
    
No problem Lynda - as always, great feedback :-) –  dan Mar 16 at 22:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.