mardi 28 avril 2015

httaccess redirects but issue with https

I need to redirect

http://ift.tt/1NZe8oI

to

http://ift.tt/1Eo10oG

I did it using

RewriteEngine On

RewriteCond %{HTTP_HOST} ^(?:www\.)?example\.com$ [NC]
RewriteRule ^test/?$ http://ift.tt/1Eo10oG [NC,R=301,L]

Now my issue is, if I load http://ift.tt/1bQrylT or http://ift.tt/1bQrylT

I get http://ift.tt/1bQrylT but I need to get http://ift.tt/1Eo10oG

How do I modify or add a rule to do so?

Aucun commentaire:

Enregistrer un commentaire