Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Did you set the htaccess correctly for subdomains and not subfolders? There should be no effect on your subfolders unless you made a subdomain called downloads.

    Also did you make your subdomains set up for wildcards correctly on your server?

    Thread Starter littleantz

    (@littleantz)

    I believe i set things up correctly as far as the sub domain settings are concern because I can add site (subdomain) without a problem.

    I don’t see any problem with my network WP.

    It just my existing sub domains and sub folders prior to activation of the network is returning 404 with the current wp theme.

    Can I PM you or email you so I can give you the domain?

    Thanks for the reply.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Not unless you wanna pay me (not a joke – support here is free. Everything else, except my own plugins, not so much).

    I believe i set things up correctly as far as the sub domain settings are concern because I can add site (subdomain) without a problem.

    Okay so you made domain.com and it has subdomains of site1.domain.com and so on.

    If you make a folder off domain.com, like ‘test’, you SHOULD be able to access it at <anysubdomain>.domain.com – it works on my site https://ipstenu.org/test/ and https://code.ipstenu.org/test/ BOTH point to /public_html/test (a physical subfolder) with a bit of PHP to tell you where you came from. EVEN IF you use the same subfolder name as a subdomain, you’re fine.

    What’s your FULL .htaccess file?

    I’m thinking it;s where the wildcard subdomain is added at your webhost.
    Are you on Plesk?

    Thread Starter littleantz

    (@littleantz)

    @ipstenu, Here is my .htaccess

    RewriteEngine On
    RewriteBase /
    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]

    @andrea_r, I am on cPanel

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    How did you set up wildcard subdomains in cpanel?

    Thread Starter littleantz

    (@littleantz)

    I logged in to my cpanel, go to sub domain section. added “*” (without the quotes) subdomain pointed to the root of the main site.

    And does your *host* support wildcard subdomains?

    Just becasue you can add them in cpanel doesn’t mean they are set up on the server. Or that the host even wants you to use them…

    Thread Starter littleantz

    (@littleantz)

    I did not bother to ask that specific but they said WP Network is supported.

    And since I can add sites from the WP-ADMIN side, I presume it is supported.

    Can I still add sub domain WP sites even if my host does not support it?

    Anyway, i will ask that to my host.

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Can I still add sub domain WP sites even if my host does not support it?

    Yes, but you have to add each subdomain manually and force point it to /public_html/

    And since I can add sites from the WP-ADMIN side, I presume it is supported.

    bad assumption. WP can add them to the db, and show them on the list, but has to rely on the server to serve it.

    just like you can write a hundred posts, but if you hose your permalinks they won’t show on the front end.

    Thread Starter littleantz

    (@littleantz)

    but my site is ok. when I create sites, I can browse it immediately without having to add sub domain from c panel and pointing it.

    The only problem is that sub domains prior to installation of WP netword is not resolving.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The only problem is that sub domains prior to installation of WP netword is not resolving.

    Huh? Translation please? I THINK you’re saying this:

    Any subdomain I made BEFORE enabling wildcard subdomains no longer works.

    Thread Starter littleantz

    (@littleantz)

    that sounds the same to me. Is there any difference?

    Sorry if I did not say it right. I’m not a native english speaker.

    But honestly, I can’t say much difference between the two because the time I enable wildcard subdomain is the same time I installed WP network. I honestly can’t tell which one causes the problem.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay. Ask your host about the wildcard subdomains first. But somehow you broke the named-subdomains, so I THINK you need to fix that first.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Folders getting error 404’ is closed to new replies.