WordPress Admin Subdomain (4 posts)

  1. stopsineman
    Posted 7 years ago #

    Hello Everyone,

    I was wondering if there is any problem in creating a subdomain such
    as wordpress.domain-name.com to host only your admin interface. In
    other words, the document root would become
    'site-root/wordpress-install-root/wp-admin/'. I'm not sure if the
    document root needs to contain all of the other parts of the system,
    or if it can just as well operate as it's own site.

    Thanks in advance!

    Timmy V.

  2. stopsineman
    Posted 7 years ago #

    FYI, I did some experimenting with this and could not get it to work. So far, I can only have the blog root be different than the wordpress install location, but any subdomain has to contain the whole application.

    Any options here? Thanks in advance!

    Timmy V.

  3. mort
    Posted 7 years ago #

    i've been wondering about this too.

    wordpress doesnt lend itself to multi-application sites very well.

    you could do some crazy htaccess redirects, i guess.

  4. frames
    Posted 7 years ago #

    I had this almost working 5 minutes ago like this:

    http://domain.com/ <<< main site (with blog)
    http://admin.domain.com/ <<< wordpress site

    The only downside: you'll no longer be logged in on main site when you log into WordPress.

    Overview of what I did:

    1. Moved WP core files to a different directory
    2. Moved index.php to main directory (1 and 2 more or less as per here
    3. Created subdomain in Apache
    4. Restarted Apache
    5. Went to main site

    And that was it, basically! I was a little 'cheaty' since my admin subdomain was pointing to the main site + /admin, but that should be OK as long as you change that directory (I imagine it would work with any, even above 'main' path) in index.php.

    I haven't been investigating it any further yet (and I'm thinking if I will really use it). In fact, I arrived here looking for some info.

    Apart from not seeying the 'edit' and other admin options in main site, everything was OK.

Topic Closed

This topic has been closed to new replies.

About this Topic