• When I create a site (under a multisite setup), the path to the site getting constructed incorrectly. (NOTE: I have 3b2 set up to create sites as sub-domains.)

    I’m getting a path that looks like this:

    http://test.www.domain.comdatabasename/

    The .com is followed immediately by what appears to be the name of the mysql database for the WP installation. Is that just a strange coincidence? I’ve had this result twice. Weird.

    Earlier, I came across a help page (possibly in the codex?) that said that the www. should be removed from one of the places in setup where the base URLs are entered. I assume that accounts for the www in the above URL following the subdomain. But can’t locate that help page again, and for some reason I also can’t locate the setup page where that info is specified (does it get moved once MULTISITE is enabled?)

    Thanks!

Viewing 15 replies - 1 through 15 (of 47 total)
  • I am having the same issue with the final release of 3.0 but I am not using subdomains, so my secondary sites are http://domain.comdomain_com_2test, running together the main url with the name of my database (domain_com_2) and the “test” is what I told it to call the blog, so it should just be http://domain.com/test

    Thanks

    I’m getting weird paths showing up when I create my sites too. Eg: site.host.com will be created with an address of site.host.comsite_name

    Manually editing the blog options and removing the generated path got the blog working for me.

    Had this problem as well and I even posted about it on trac.

    The devs couldn’t reproduce it although I could reproduce it as many times as I wanted with my setup (whether I had “www” or not). I thought it was only my installation but now that you guys are posting about it, I guess I was wrong.

    The only “cure” I used was to completely reinstall everything from scratch.

    I had the same problem when installing MU on 3.0, but didn’t think it would mess up things.. i was wrong, only getting 500 internal error when going to sub-blogs. (Wildcard is active on the server)
    So i have gone trough the database now thinking it should be some thing that’s happened there. And found some odd things(think there odd at least..).
    In the wp-options – _transient_dirsize_cache line the url is messed up when pointing to the “blogs.dir”. It’s saying:
    a:1:{s:88:”/customers/domain.se/domain.se/httpd.www/wp-content/blogs.dir/1/files/”;a:1:{s:4:”size”;b:0;}}

    I don’t know if it’s suppose to be like that but in my eyes it looks wrong.. Any one that’s better then me that have any thoughts?

    EDIT: Can also add that it seem to be the only place in the database that points to blogs.dir

    The only “cure” I used was to completely reinstall everything from scratch.

    then if it was truly a big that wouldn’t work. šŸ˜‰ Likely a typo, a forgotten step, a stray character…

    So i have gone trough the database now thinking it should be some thing that’s happened there. And found some odd things(think there odd at least..).
    In the wp-options – _transient_dirsize_cache line the url is messed up when pointing to the “blogs.dir”. It’s saying:
    a:1:{s:88:”/customers/domain.se/domain.se/httpd.www/wp-content/blogs.dir/1/files/”;a:1:{s:4:”size”;b:0;}}

    I don’t know if it’s suppose to be like that but in my eyes it looks wrong.. Any one that’s better then me that have any thoughts?

    It’s only caching the location of your uploads. Yes, it’s supposed to look that way.

    I also have this problem and just posted about it.

    For instance my site is MyMythos.org and when I create a Site titled Sidian it produces this URL for it: mymythos_orgsidian/
    which only gives my ISP’s error page “Could not be found”

    What do I need to do here? This is halting site production until I can fix it šŸ™

    You’ve got a typo somewhere.

    What sort of typo? In the htaccess? Or in my WP settings somewhere?

    Ok so I’ve gotten some more info on this but haven’t quite solved it yet.

    When I go to Edit the new sub-site titled Sidian, I can see a lot of options including things about it’s URL. For instance:

    Siteurl: http://www.mymythos.orgmymythos_orgsidian/ (messed up)

    Home: http://www.mymythos.orgmymythos_orgsidian/ (messed up)

    Fileuploadurl: http://www.mymythos.orgmymythos_orgsidian/files (messed up)

    So my question is, how do I change the original parameters that are causing my new sub-sites to spawn with these screwy default settings?

    I know I can change them on a sub-site by sub-site basis, but obviously the efficient thing to do is nip all that in the bud so that the sites simply aren’t create in this manner.

    Would a reinstall do anything?

    I will paypal $10 to whoever can show me how to change the settings for sub-site spawning.

    Would a reinstall do anything?

    See previous posts in this thread where a reinstall fixed it.

    Tried reinstall.
    It turned the weird URL’d sub-sites into normal URLs (like mymythos.org/sidian) but visiting them still yielded ‘page not found’.

    Also, upon deletion and recreation they were back to the funky URL structure. šŸ™

    I have the same proplem we need help ? please

    It turned the weird URL’d sub-sites into normal URLs (like mymythos.org/sidian) but visiting them still yielded ‘page not found’.

    Do you have working pretty permalinks off the main blog?
    Did you put the .htaccess file there correctly?

    Subfolder blogs work on the basis of mod_rewrite reading the htaccess file. If the server doesn’t have mod_rewrite or it isn’t reading the htacess file, it can’t find the blog.

Viewing 15 replies - 1 through 15 (of 47 total)
  • The topic ‘Strange URL constuction with multisite’ is closed to new replies.