• I run into a strange problem, of which I think it has someting to do with the WP installation…

    [Running on FreeBSD 6.3]
    I have installed WP in the directory

    /usr/www/mysite.com/wp233

    I have activated a sub-domain called

    /status.mysite.com

    of which I do a redirect in Apache webserver:

    <VirtualHost *>
    ServerName status.mysite.com
    ServerAdmin [email protected]
    DocumentRoot /usr/www/mysite.com/wp233
    DirectoryIndex index.php
    CustomLog /var/log/websites/status.mysite.log combined
    </VirtualHost>

    However, when I surf to https://mysite.com/wp233, I am redirected to https://mysite.com instead of to https://mysite.com/wp233

    There obvious is something in the WP2.33 setup that triggers the root URL rather than the /wp233 sublocation.

    Can you tell me how I can resolve this (.htaccess)??

    thank you

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Can you tell me how I can resolve this (.htaccess)??

    Go to https://status.mysite.com instead of attempting to go to the wp233 directory? That would sorta be the point of your virtual host, no?

    WordPress does not like to be accessed from two different URLs. It expects one point of access, that being whatever is defined in the Options->General menu as the Site URI.

Viewing 1 replies (of 1 total)
  • The topic ‘Root URL’ is closed to new replies.