WordPress.org

Forums

My Multisite subfolder has some pages showing me the main root site and 404 erro (17 posts)

  1. bigblue23
    Member
    Posted 1 year ago #

    hey guys, i have the same problem as " cpolicastro " but i dont have an htaccess file i am on windows server so i can deal only with web.config file, im working on 2 websites on a shared " Godaddy " hosting account :
    I have :
    thefirstwebsite.com on the main root of the server
    ,thesecond.com and thethird.com is on the subfolders so actually i am working on thesecond.com so the frontpage is working but the other pages like - About - Contacts etc etc, redirecting me to thefirstwebsite.com and showing me 404 error and the permalinks sturcture is set to custom and each page is on its own title like thesecond.com/about or /contact which is bit different than thefirstwebsite.com/aboutus or /contactus, i tried to install the network multisite on thesecond.com as well and still nothing its been more than a month that i have this issue please any help id be much appreciated

  2. Did the sites work before you mapped domains?

  3. bigblue23
    Member
    Posted 1 year ago #

    The site of the root is working well but the others on the subfolders went crazy when i changed my permalinks right now i am focused on thesecond.com cause its the one that is ready on the subfolder site its pages beside the front one gives me error 404 but on the root site and when i delete the web.config from the site of the root everything works well except the same problem goes to the root site " error 404, just on its pages " hope i have explained better

  4. The site of the root is working well but the others on the subfolders went crazy when i changed my permalinks

    Okay, that's PROBABLY the root of the problem, just so you know. Whose permalinks did you change? The MAIN sites? From what to what?

  5. bigblue23
    Member
    Posted 1 year ago #

    The permalinks of the root site is already set to a custom ones before thesecond.com and the third site was on the server and the permalinks of the MAIN site is like thefirst.com/home , /about or /contact but i wanted to make the other sites of the subfolders almost the same like from defaults permalinks to custome ones on the pages name

  6. Okay so you ONLY changed permalinks on the subsites.

    Did the sites work before you mapped domains?

    I'm asking this for a reason ;)

    Also what's in your .htaccess?

  7. bigblue23
    Member
    Posted 1 year ago #

    Yes,The sites were working fine when their permalinks was set on default until i've changed them to pages titre permalinks, plus, the sites are different from each others because i wanna use different sites on one shared hosting.
    I Don't have .htaccess on my server i have Web.config file on the MAIN SITE on the root and one on each subsites.

  8. bigblue23
    Member
    Posted 1 year ago #

    I dont want to make the sites that i have on the subfolders to work between each others, like you said " MAPPED " i just have 3 sites in one hosting account but i have the first site on the root and the two others on subfolders, is it right how it set up so i can work all the three websites or should i do something , im not an experienced guy on this! :/

  9. Oh ... right. IIS. Tagging THAT.

    I Don't have .htaccess on my server i have Web.config file on the MAIN SITE on the root and one on each subsites.

    Wait... WHAT?

    That's not how Multisite works at all, even for the weirdness that is IIS.

    You should not have separate subdomain folders. ALL the subdomains should point back to where the main site is installed!

  10. bigblue23
    Member
    Posted 1 year ago #

    So What you saying is i should take the content of all the subfolder and place them to the main site root ?!

  11. No, I'm saying there IS no subfolder...

    Let's step back. You know how when you use WP and make a page called /about/ there's no actual file for the page? Multisite sites are the same thing, they're virtual.

    So your subsites should not have real folders. If you made them, you need to delete them and the subdomains should have their 'home' in the root HTML folder.

    Here's a (sorry) Linux example:

    domain.com lives in /home/user/public_html

    A NORMAL subdomain would be in /home/user/public_html/subdomain

    But for Multisite it would be in /home/user/public_html

    Yes, the same place as domain.com

  12. bigblue23
    Member
    Posted 1 year ago #

    on my ( GoDaddy ) hosting account, all i can see is the domains are set up in the right place, but because im using Filezilla to manage my server i have the directory root like this : Directory root( which it has the firstsite.com ) + root/secondwebsite and root/thirdwebsite thats how i organized my server, and each folder of them has web.config file, but for example if i delet the web.config file from the root which is for the firstsite.com the secondwebsite gonna work perfectly fine, like there is no problem on the permalinks BUT THE SAME PROBLEM OF PERMALINKS ( ERROR 404 ) gonna be on the main site of the root which is still a problem this is happening from the web.config files after my tries i hope that was a helpful explanation man im really frustrated after months of this..

    btw, sorry for my late answer

  13. Yeah, you did it wrong.

    but because im using Filezilla to manage my server i have the directory root like this : Directory root( which it has the firstsite.com ) + root/secondwebsite and root/thirdwebsite thats how i organized my server

    For MULTISITE all of your domains MUST point to root/

    No exceptions. If you have root/secondwebsite and all that Multisite will never function as you want.

  14. bigblue23
    Member
    Posted 1 year ago #

    Ok i understand what you saying but each site had its main folders of wordpress installation and some other files beside the folders so if i put them on the root as you said it will get mixed and some files would be replaced on the recent ones one you know what im saying, like each website has folders : wp-admin, wp-content, wp-includes, and other files : wp-config.php, wp-settings.php, and so on... so imagine if i put each site on the root like this it will never be happen correctly if you know what i mean its gonna get mixed between all the three sites..

  15. each site had its main folders of wordpress installation and some other files beside the folders

    No. No they do not with MULTISITE. You only have ONE wp-config for all your sites.

    Media gets uploaded into wp-content/uploads/sites/sitenumber/...

    So you totally set everything up separately into totally separate WP installs, NOT Multisite.

    Delete the other folders. they are absolutely 100% not needed for Multisite. You don't combine anything.

    Re-read this: http://codex.wordpress.org/Create_A_Network

  16. bigblue23
    Member
    Posted 1 year ago #

    i see what you mean man, i guess what's happening here is just a misunderstanding, THE RIGHT QUESTION ABOUT MY PROBLEM IS : I have 3 sites ( the first one on the root and the others has their own directory on the root ) i want those 3 sites to work with pretty permalinks because MULTISITE as i did my research about is for subdomains or sub directory blog.example.com or example.com/blog but thats not what i want, i want site1.com site2.com site3.net on a shared hosting account ( GODADDY) and i got thesite.net on the root of the server, i really hope i could fix this because its been a while that im googling on this!

    Thank you!

  17. You posted in the Multisite section, so you get Multisite styled help here.

    If you don't WANT to use Multisite, then your question is now "I have three separate sites installed on IIS and the permalinks don't work."

    You don't have Multisite.

    i want site1.com site2.com site3.net

    You can do that with Multisite. It's called domain mapping :) You would make Multisite with subfolders (trust me here, I know GoDaddy and shared hosting). Then you MAP site1.com to domain.com/site1 via the plugin

    It works :) That's how I did halflelf.org (which is actually tech.ipstenu.org)

    Also if possible, switch GoDaddy from IIS to Linux. You'll be happier in the long run.

Topic Closed

This topic has been closed to new replies.

About this Topic