Forums

Multiple Sites wp-admin redirect error (3 posts)

  1. armyof12
    Member
    Posted 1 year ago #

    I am trying to setup multiple sites and have the sites running smoothly but when I go to access the wp-admin of the second site it redirects me to the wp-admin of the first

    Both sites are running on the same server using vhosts with separate installations and databases.

    here is the vhosts I have setup

    <VirtualHost *:80>
    DocumentRoot "/srv/www/wordpress"
    ServerName site1.net
    ServerAlias http://www.site1.net
    </VirtualHost>

    <VirtualHost *:80>
    DocumentRoot "/srv/www/wordpress2"
    ServerName site2.net
    ServerAlias http://www.site2.net
    </VirtualHost>

    and basically when I try to goto this
    http://www.site2.net/wp-admin/
    I am redirected to this
    http://www.site1.net/wp-login.php?redirect_to=http://www.site2.net/wp-admin/&reauth=1

    I'm at a loss and would appreciate any help

  2. kmessinger
    Member
    Posted 1 year ago #

    When I go to site2 I get a GoDaddy place holder coming from an index.html file.

    What are the real site names?

  3. armyof12
    Member
    Posted 1 year ago #

    Site1 or site 2 two isnt actually the site I am working on, it is an example of my setup. Maybe I should of used domain1 and domain2 to get my point across. Either way, i still have the problem I mentioned.

Topic Closed

This topic has been closed to new replies.

About this Topic