WordPress.org

Ready to get started?Download WordPress

Forums

Dashboard redirects to subfolder instead of domain (4 posts)

  1. dokool
    Member
    Posted 4 years ago #

    Alright, this should be easy enough, I hope.

    I have a website, http://www.domain1.com

    I have a separate website (the wordpress blog) which is installed to http://www.domain1.com/folder/

    I have a second domain, let's call it "domain2.com" Through my provider I have that domain set to redirect to http://www.domain1.com/folder/, and that's all fine and good.

    Unfortunately, when I log in through domain2.com/wp-login, it redirects me to domain1.com/folder/wp-admin/

    Is there any way to make it redirect to domain2.com/wp-admin/ instead? It has to be some sort of .htaccess issue or something along those lines...

    Thanks!

  2. Samuel B
    moderator
    Posted 4 years ago #

    are the
    $table_prefix
    different for both blogs? in wp-config.php?

  3. dokool
    Member
    Posted 4 years ago #

    >>samboll

    There's only one wordpress blog (in domain1.com/folder), the other website is my photography portfolio and doesn't use wordpress.

  4. dokool
    Member
    Posted 4 years ago #

    Fixed the problem: in General Settings, I had my WordPress Address set as domain1.com/folder/ instead of domain2.com because apparently I'm an idiot. The more you know!

Topic Closed

This topic has been closed to new replies.

About this Topic