WordPress.org

Ready to get started?Download WordPress

Forums

It's possible to have wildcard and normal subdomains? (8 posts)

  1. colegota
    Member
    Posted 3 years ago #

    Hi!

    I've migrated multiple blogs to a WP 3.01 multisite. Before I have multiple subdomains like blog1.example.com, blog2.example.com, etc.

    Now I've created * subdomain at cPanel and new site works fine. But I needed to remove previous blog1, blog2, etc subdomains at cPanel because if not, I get a 500 error after create blog1 site and trying to access blog1.example.com.

    My problem is that some blogs have more data inside in folders not related to WP (like blog1.example.com/doc/).

    It's there a way to have access both to * and blog1 subdomains?

    Regards!
    Colegota

  2. No.

    upload those docs inside WP and recreate the URLs with pages.

  3. I'm not so sure, Andrea... I did it.

    I have wildcards for my blog, but I also ran a named subdomain without any problems or conflicts. Didn't do anything special to do it either. Just set 'em up in cPanel and wandered off.

  4. Yes, you can do that if the subdomains are different.

    the OP wants a physical folder on the server the same as one of the blogs in MU. gotta be either / or. He's already got an error.

  5. colegota
    Member
    Posted 3 years ago #

    Yes. as Andrea said, there is no problem with subdomains not used for blogs (like the forum one). In my case some blogs has docs used in entries whose links fails now.

    Need time to try Andrea's solution while I think it will work too changing doc's urls to example.com/blogX/doc/. Just the subdirectory instead the subdomain.

    Luckily, there is no many links to fix.

    I'll keep you informed.
    Colegota

  6. colegota
    Member
    Posted 3 years ago #

    Hi again!

    I've tried Andrea's hint about upload files into WP. It works OK for author's page but fails to (replicated) main page. Those files uploaded to colegota.example.net/files/2010/11/ for colegota.example.net post seems not to be accessible from example.net main page's replicated post.

    As a little background, I'm using OSM plugin to display maps with gpx routes like here. The plugin needs to have gpx and some txt files at same domain that post.
    At the previous model (multi WP instances instead multisite WP) files under colegota.example.net were accessible from example.net replicated post, but not now.

    Note that I also need to install and set up PJW Mime Config plugin to allow gpx and txt mime types both in main and author's page.

    Any more ideas?

    Regards,
    Colegota

  7. Those files uploaded to colegota.example.net/files/2010/11/ for colegota.example.net post seems not to be accessible from example.net main page's replicated post.

    How are you replicating the post to the main site?

  8. colegota
    Member
    Posted 3 years ago #

    At first moment were replicated by RSS importing. But later edited manually to change old URL (http://colegota.example.net/gpx/xxx.gpx) to the one inside WP like http://colegota.example.net/files/2010/11/xxx.gpx

    Edit: and next step will be using sitewide tags plugin for next post. Still not installed.

Topic Closed

This topic has been closed to new replies.

About this Topic