WordPress.org

Ready to get started?Download WordPress

Forums

Subdomains
[resolved] .htcaccess or Hostgator priviledges? (7 posts)

  1. becomebecome
    Member
    Posted 2 years ago #

    Hello,

    Installed the Multisite version of WordPress following instructions here :

    http://codex.wordpress.org/Create_A_Network

    Backed up everything with Xcloner before install.

    I am not sure about the .htcaccess modification process (Step4) where it says:

    3 - Add the following to your .htcaccess file in XXX, replacing other wordpress rules.

    I entered the file management section of my cPanel and erased the content of .htcaccess replacing it with the strings suggested.
    Did I have to just add those lines of code below the already listed 12 or so lines, or did I do right to replace them completely?

    If I did wrong replacing them, are those lines I accidentally erased custom and can I copy-paste them back there from somewhere or do I have to go through a clean re-install?

    If I go through a clean re-install will a new install of Xcloner on top of it bring back my old blog contents?

    ---

    If I did the above .htcaccess step right, then why is it that when I try and access a newly made subdomain I get a 404 error page like this visible here:

    http://aphorisms.becomebecome.com/cgi-sys/defaultwebpage.cgi

    Is it because I have to manually create each Multisite subdomain from cPanel as well?

    Is it because I need permissions to be set up from hostgator?
    I have a "baby" plan with unlimited subdomains, bandwidth and storage.
    Do I need something else to install an MU version of WP?

    The main blog with all its posts and the new dashboard interface is responsive and looks alive, just can't get subdomains to be created.

    Thank You!

    http://wordpress.org/extend/plugins/subdomains/

  2. dgilmour
    Member
    Posted 2 years ago #

    3 - Add the following to your .htcaccess file in XXX, replacing other wordpress rules.

    Add means add, not replace, so any lines already present in your .htaccess file should have been left.

    The existing lines will have been placed there by your host, for their own reasons. I'd replace them, either from backup or by asking the host, to get back into a standard configuration.

    If I did the above .htcaccess step right, then why is it that when I try and access a newly made subdomain I get a 404 error page like this visible here:

    http://aphorisms.becomebecome.com/cgi-sys/defaultwebpage.cgi

    In your last line you provide a link to the Subdomains plugin. I don't know the plugin, but from a quick look it appears to be the last thing you need if you're planning to use subdomains with Multisite, as it's a means of using them for conflicting purposes. You certainly don't need it for Multisite, so it should be completely deleted.

  3. If I did the above .htcaccess step right, then why is it that when I try and access a newly made subdomain I get a 404 error page like this visible here:

    http://aphorisms.becomebecome.com/cgi-sys/defaultwebpage.cgi

    To elaborate on what dgilmour said, that's actually a different thing :) Your subdomain is mapped incorrectly for use of Multisite. You should be pointing your subdomains to the main (root) location of your domain, so going to a non extant site, like fakesite.becomebecome.com takes you to becomebecome.com/wp-signup.php?=fakesite

    Get rid of the plugin, double check how you mapped it.

    (your .htaccess is perfect.)

  4. becomebecome
    Member
    Posted 2 years ago #

    mmmh...

    ok, thought I did the .htcaccess step wrong and went for a clean re-install of the WPMU platform.

    Now I am stuck because Hostgator Servers will not let me clean install on top of a previous version (long list of 'already existing files' error, error,...).

    Anyway, I think I can recover my blog once they bring it back (recover from delete) or let me fresh install a new WPMU (Xcloner should get my posts and structure back, right?).

    Now to stick to the subject...

    My Subdomains plugin is history, It is how I managed the MU functionality under classic WP install.
    I just deleted it.
    All subdomains previously created in cPanel are gone also, to prevent conflicts.
    Thanks for feedback on this, guys.
    So no need to be 'mapping' subdomains now, right?
    I'm a little green on WP and coding in general so please bear with me...

    I guess the most important question raised in my head right now is:

    Creating Subdomains from WPMU dashboard work on its own or should I go and create subdomains 'paired' to them from the cPanel in Hostgator everytime I create a 'samename.becomebecome.com' subdomain from the WPMU dashboard?

    Also, @Ipstenu, I am going to wipe clean the .htcaccess and paste the code from the WPMU install like I did before when the new install comes alive, ok?
    No 'adding', but 'replacing'.
    Confirmed?
    (Thanks)

    And I was thinking about Xcloning back my content under the classic WP install BEFORE upgrading to WPMU.
    Make sense to you too?

    Thanks a lot for feedback.
    Loving this community and hope to give back some day when I get more experienced...

    Cha Cha

  5. dgilmour
    Member
    Posted 2 years ago #

    Creating Subdomains from WPMU dashboard work on its own or should I go and create subdomains 'paired' to them from the cPanel in Hostgator everytime I create a 'samename.becomebecome.com' subdomain from the WPMU dashboard?

    Creating the subdomain blogs works on its own. That's what the wildcard DNS record does for you (in most cases, sometimes people use other arrangements).

  6. becomebecome
    Member
    Posted 2 years ago #

    Got it.
    In case someone gets stuck like me, details for DNS wildcard procedure with Hostgator available here :

    http://journalxtra.com/websiteadvice/wordpress/activating-wordpress-3-0-multi-site-formerly-multi-user-mu-2149/

    Will report back here about results.

    Thanks!

  7. becomebecome
    Member
    Posted 2 years ago #

    Ok, everything is working fine now.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags