2
Contributors
2
Replies
4
Views
6 Years
Discussion Span
Last Post by veledrom
0

Hi guys,

This will probably be very easy for some of you but I failed even I had a website examples.

I want
http://s12345.webspace.info/http/myapp/
to bew replaced with
http://portal.myapp.co.uk/

How can I do this with htaccess?

Thanks in advance

Assuming this is a permanent move (301 - moved permanently), create a file called .htaccess in the root folder of your website with the following:

Options +FollowSymLinks
Redirect 301 /http/myapp/ http://portal.myapp.co.uk

That *should* do the trick. Let us know!

HTH,
-Ray

0

Thanks for the reply but unfortunately I changed the whole structure of directory just because I didn't get prompt answer. However, I'll keep your answer somewhere just in case I need it in future.

Thanks again

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.