V
V
Vasily2015-12-01 15:18:50
Domain name market
Vasily, 2015-12-01 15:18:50

How to make a correct redirect to another server?

There is a blog on the site.ru domain, you need to add a second blog to the site.ru/blog address, but so that the second blog is on a different server. The first blog on self-written cms, the second on wordpress.
Can this be done with .htaccess redirects?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
whitysolo, 2015-12-01
@whitysolo

RewriteCond %{HTTP_HOST} ^site\.com
RewriteRule ^(.*)$ site.ru/blog/$1 [R=301,L]
if I understood the task correctly of course ) but what prevents them from being placed on the same server physically?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question