Forums

Rewrite from another domain (1 post)

  1. Hpatoio
    Member
    Posted 3 years ago #

    Hello.

    I have WP installed on a domain like :
    http://domain.to.hide.com/blog/myblog/ on a machine (let's call it A) and everything works.

    Then I have another machine (let's call it B) with this URL http://www.realdomain.com/blog/myblog/

    I set up a rewrite rule on machine B so that http://http://www.realdomain.com/blog/myblog/ it rewritten to http://domain.to.hide.com/blog/myblog/

    The point is that if I set WordPress address (URL) and Blog address (URL) to http://domain.to.hide.com/blog/myblog/

    When I type http://www.realdomain.com/blog/myblog/ everything works but the URL in the browser is changed to http://domain.to.hide.com/blog/myblog/ (and I DON'T want this to happen)

    If I set the 2 vars to http://www.realdomain.com/blog/myblog/ the browser start an infinite loop !

    How can I solve this ? I can make everyt kind of configuration on both servers !

    Ciao

    --
    Simone

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.