WordPress.org

Ready to get started?Download WordPress

Forums

Clean links for multiple domains (2 posts)

  1. bamboozled
    Member
    Posted 4 years ago #

    I have perused the docs and forums for several hours now and have not yet found a solution so I would greatly appreciate some help.

    I have a single account with a hosting company. I have purchased multiple domains associated with this single account (and single server). I have been able to successfully install multiple blogs with multiple databases as described here.

    I have followed the directions about giving WordPress its own directory here but this only works for one blog or the other. The other blog then has to still have a subdirectory after the domain. In other words if I redirect http://www.exampleone.com/wordpress1 to appear as just http://www.exampleone.com by modifying the htaccess file I can't also figure out how to get http://www.exampletwo.com/wordpress2 to appear as just http://www.exampletwo.com/.

    Basically I have everything worked out except for clean URLs for both blogs. What I would ideally like to do is have http://www.exampleone.com/blog1/ appear as the cleaner URL http://www.exampleone.com and http://www.exampletwo.com/blog2/ appear as the cleaner URL http://www.exampletwo.com. This seems like something that should be doable but I have a bare minimum knowledge of coding beyond html. I have also looked into wordpressMu and gone as far as installing Virtual Multiblog but I couldn't get either of these to actually accomplish what I want to do.

    I am a graduate student who teaches and would like to use one domain for my personal blog and another for my students so I really need to keep everything for each blog separate.

  2. dean-smith
    Member
    Posted 4 years ago #

    I know what you're going through...hope someone will have an answer.

    not sure if this is exactly what you've experienced as well. I am pulling out my hair trying figure out ways around it. but may just end up buying another hosting package everytime I need to launch a new site. here's my dilemma:

    I have 3 domains: A.com, B.com, C.com

    Installed WP on:

    Root = A domain
    Root/sub-dir-B = B domain
    Root/sub-dir-C = C domain

    WP-admin works fine when I use:
    A.com/wp-admin
    B.com/sub-dir-B/wp-admin
    C.com/sub-dri-C/wp-admin

    however, A.com/sub-dir-B or C/wp-admin also seems to pull up B.com / C.com/wp-admin

    And when a user visits "B.com/sub-dir-B/index.php" or "C.com/sub-dir-C/index.php" it's all good, they get taken to the respective WP-sites and sub-dir, but if the user types "B.com or C.com" they get taken back to the Root, which is "A.com".

    Yes, I've tried redirects, both HTTP, and Directory specific. The results were either 404, or themes completely disappear from B.com or C.com. A.com seems to be the dominant. Tried http.access, only breaking everything altogether. also tried 'settings' in wp-admin to point to dir, 404 again.

    The desire is to have multiple domains all pointing to their respective sub-dir, without user having to type in the entire "domain.com/sub-dir" to get there. user should just type in A.com, B.com or C.com to get the correct redirect.

    Tech support was zero help, and scoured the web for answers, nothing either. So ended up buying new hosting packages everytime for new wp sites.

Topic Closed

This topic has been closed to new replies.

About this Topic