WordPress.org

Forums

[resolved] WP-Login shows blank screen when using new domain (12 posts)

  1. ThOnMa
    Member
    Posted 2 years ago #

    Hi, i'm a frequent WordPress user but i'm getting this problem recently and i don't know how to solve it, hopefully you can help me.

    I have one domain, let's say http://www.mydomain.com, then I made a new WP installation on http://www.mydomain.com/wordpress, everything is fine and dandy.

    However, i have a second domain (www.mydomain2.net) assigned to that directory (www.mydomain.com/wordpress), i updated the site adress, and while the site shows up and every permalink seems to be fine, i can only access wp-login from http://www.mydomain.com/wordpress/wp-login, but i need to access via http://www.mydomain2.net/wp-login (this link shows me a blank page).

    Any help on what i have to do? or at least some advice on where should i search for the answer?

    Thanks in advance

  2. Krishna
    Volunteer Moderator
    Posted 2 years ago #

  3. ThOnMa
    Member
    Posted 2 years ago #

    Thanks a lot for your answer, i tried following those instructions, however i couldn't fix the issue.

    I think those are not quite related to my problem, because i don't really want to change the domain that i already have, but to assign a new one, i'm not replacing the current domain, i'm just adding one.

    Also, as i said, i already updated the site url and adress values on the db, isn't that kind of the same than forcing them on the php code?

    I've been checking the WP-config file and i think my problem could be related to the ABSPATH value (maybe i'm wrong, but i'm not really a php expert, my theory is that the abspath directs to my current domain instead of the one that i'm adding), is there any way to change it?

    I appreciate your support :)

  4. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    As I understand, you have two separate WP installations assigned to two separate domains, whatever be the changes you made so far. Is it so?

  5. ThOnMa
    Member
    Posted 2 years ago #

    No, i have just one wordpress installation.

    That installation is on one subdirectory, what i'm trying to do is to assign a new domain to it (which i did, but i can't see wp-login using that domain).

    So, i have it on
    http://www.mydomain.com/wordpress

    I'm assigning a second domain to that adress
    http://www.mydomain2.net

    The problem is that when i enter via http://www.mydomain.com/wordpress/wp-login, it works, but when i try to access http://www.mydomain2.net/wp-login and there is where i got the blank page.

    A lot of thanks for helping me, Krishna.

  6. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Can you post your actual site URL so that the problem can be better analyzed and understood?

  7. ThOnMa
    Member
    Posted 2 years ago #

    Sure:

    WordPress installation
    www.theonematt.com/enserietv/

    Domain that i assigned
    www.enserietv.net

    If you check http://www.enserietv.net/wp-login.php, you'll see a blank page, however at www.theonematt.com/enserietv/wp-login.php it works.

    Thanks for your help.

  8. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Please read this:
    http://codex.wordpress.org/Changing_The_Site_URL

    As you can see in the above link, http://www.enserietv.net is the URL that you want your visitors to use to reach your site. But you have WP setup at http://www.theonematt.com/enserietv/. That is where your files reside. So, http://www.theonematt.com/enserietv/wp-login.php works.

    In other words, you have setup everything correctly and it works as you have set it up.

    If you check http://www.enserietv.net/wp-login.php, you'll see a blank page

    Only logical, because there is no WordPress installation there.

    I hope it is clear to you.

  9. ThOnMa
    Member
    Posted 2 years ago #

    So if i understand correctly, there is no way to have access to www.enserietv.net/wp-login because there is nothing installed there and it's only a mask for the real website ubication (then, for the installation it doesn't matter if the new domain is pointing to the same ubication where the WP was installed).

    Well seems like i'll have to get accustomed to it.

    Krishna, thanks a lot for your support on this issue.

  10. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Yes. Still check if you have any other issues. If I had installed so, I would be very happy with it.

    If you are convinced that you have installed WP as you wanted it, please mark the topic as resolved.

  11. ThOnMa
    Member
    Posted 2 years ago #

    Ok, i'm marking it. Again, a lot of thanks for your patience and time =).

    God bless.

  12. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    You are welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic