Mobile app version of vmapp.org
Login or Join
Merenda212

: .htaccess port 80 to another port SEO impact? 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

@Merenda212

Posted in: #GhostBlog #Htaccess #Seo

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 ^ 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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Merenda212

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gloria169

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).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme