Support » Networking WordPress » multisite subdirectory to subdomain

  • hello
    how can i change the multisite functionality from subdirectory to subdomain?? how can i figure out my WildCraft DNS is active or not??

    thanks all

Viewing 15 replies - 1 through 15 (of 20 total)
  • is there any guide to use multisite as subdomain functionality ?? coz its really complicated.

    If you’ve setup for subdomains and did the wildcard setup, then in a browser type something like blog.mydomain.com substituting mydomain.com with your real domain. If you are redirected to the main site or the signup page, then your wildcard dns is working.

    how can i setup wildcard ??

    Who is your host and are you using a control panel and if so, which control panel does your host use?

    wilcard subdomains are covered in the instructions:
    http://codex.wordpress.org/Create_A_Network

    If it;s too complicated, hire someone to help or ask your webhost about it. they have to support the feature anyway, and they will know.

    I have the same question. My wildcard dns is set up and working.. BUT I’m running a former wpmu site using subdirectories that was upgraded to wp3 multisite. I want to use the Domain Mapping plugin, but that seems to require the subdomain setup.

    How do I convert the site to subdomains instead of subdirectories?

    I want to use the Domain Mapping plugin, but that seems to require the subdomain setup.

    No, it does not.

    If you read that in a post, it was an old post. Or, you misread the line about if the whole install is in a subfolder.

    You can domain map blogs that are in a subfolder.

    oh.. yes, you’re right. I read that here:
    http://ocaoimh.ie/wordpress-mu-domain-mapping/

    Let me rephrase my question then:

    My wildcard dns is set up and working. I’m running a former wpmu site using subdirectories that was upgraded to wp3 multisite with BuddyPress. I want to use the Domain Mapping plugin, and have followed the install instructions here:
    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/installation/

    ..but it is not working.

    When I attempt to go to a domain I’ve mapped, it dumps me at my site’s front page.

    Help?

    WordPress 3.0: Multisite Domain Mapping Tutorial

    Maybe you missed the bit about mapping the domain in the admin area of WP?

    hmm. using the admin are of one of my sub-sites, I’m trying to use the ‘domain mapping’ menus under ‘Super Admin’ and get this message:

    Please edit your /home/folder/domainname.com/wp-config.php and move the line define( 'SUNRISE', 'on' ); above the last require_once() in that file.

    ..but it IS right above the last require_once() in that file.

    (thanks for your replies, by the way)

    Put it up higher in the file.

    I dont know if anyone is interested but there is a way to install wordpress 3 with Multisite enabled and subdomain install, but keepe the wordpress files to a directory and not on the root. A bit a tweating is required but it is possible. Found a way after spending 5 hours testing.

    A lot of people would be interested.

    Can you make a new post with details?

    Ok. I ll try and make this sort. You need some advanced knowledge to make it correct. I wont explain stuff a developer should know like wildcard dns, etc.

    Ok . here goes:

    1) put wordpress 3 files in a directory (e.g wordpress) in the the root of your site. /siteroot/wordpress/
    2) edit wp-admin/network.php
    change the line :
    function allow_subdomain_install() {
    to :
    function allow_subdomain_install() {return true;
    3)install wordpress. Before final step edit wp-config.php and put the lines:
    define(‘SITECOOKIEPATH’, ‘/’);
    define(‘COOKIEPATH’, ‘/’);
    on top of the file.
    After install edit again and put define(‘WP_ALLOW_MULTISITE’, true); like standard guidelines explained in wordpress codex.

    After you setup the network put the lines suggested in wp-config.php but change:
    $base = ‘/wordpress/’;
    to
    $base = ‘/’;
    4)
    For the .htaccess follow the following instructions:

    .htaccess on root : add these lines
    ##########################
    RewriteCond %{HTTP_HOST} ^([^.]+)\.clubefl\.gr
    RewriteCond $1 !wordpress/
    RewriteRule ^(.*)$ /wordpress/$1 [NC,L]

    .htaccess on wordpress directory:
    ##########################
    RewriteEngine On

    RewriteBase /wordpress/
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]
    ######################

    That’s all. This worked for my site. Please post your successful or not tries.

    Copyright of this Method is Assetsp.gr posted 1st at wordpress.org on 11/11/2010

    🙂

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘multisite subdirectory to subdomain’ is closed to new replies.