• Resolved andyeswecan

    (@andyeswecan)


    Hi Guys,

    I’m having a problem I can’t figure out.

    I am using a subdomain multisite install. It was working fine until recently and I can’t figure out what has happpened.

    The main site is all working fine https://www.utilitywise.com/

    However, the sites installed on subdomains all give server 404 messages when clicking links from the homepage e.g. https://fr.utilitywise.com/

    I have disabled all plugins, changed to twentyeleven theme, changed and saved permalinks… but none of these have any positive effect.

    My htaccess is as follows and ‘looks’ right to me??

    # BEGIN WordPress
        <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteRule ^index.php$ - [L]
    
        # uploaded files
        RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
        # add a trailing slash to /wp-admin
        RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^ - [L]
        RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
        RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
        RewriteRule . index.php [L]
        </IfModule>
        # END WordPress

    Any help would be great as I’m stumped!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am having the same problem. I have shared hosting with Godaddy and they have added a dedicated IP address.

    All of the new sites are showing in the dashboard but cannot access them when I click on the view sites are the dashboards for each site.

    Thanks
    Cheri

    I’ve done a lot of multisites and they still confuse me, and this same issue had me stumped (what had worked before wasn’t working).

    first thing to look for is to make sure that your wordpress install needs to be at the root directory for multisite to work (there are ways around this but it is better there) – for those unfamiliar, use File Manager to grab the contents of the WordPress folder (select all) and Move everything up one level. then delete the empty WordPress folder, empty folders are a security risk that I can’t explain. should be something like public_html/ and not public_html/wordpress/

    Second thing for multisite to work you have to make sure is to have a wildcard subdomain setup in your cPanel *.yoursite.com (some hosts don’t allow cpanel to do this, but they should do it for you if you ask them)

    “normally” this is an A record… that you can do under Simple DNS Zone Editor in cPanel… however last go around for me it didn’t work for me and I deleted this ‘A’ record and went to cPanel Subdomains and added a wildcard * (asterisk) as a subdomain, and just used the default document root, that should be public_html/

    that worked magic for me where I couldn’t access new subdomain sites then voila I could

    I also read another post that in Advanced Zone Editors (WHM etc) you need to delete webdisk.*.DOMAIN.com — I have never done that and didn’t need to.

    hope it helps

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    https://fr.utilitywise.com/ seems to work now.

    cherifaline – You should make your own topic, and be descriptive with the error you see when your page ‘doesn’t load.’ What DO you see? ?? White screen with no content? A 404 like your main site? A ‘server cannot be found’?

    Thanks to you both for your efforts. I can certainly start a new topic and give more details.
    Cheri

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Main site works, but subdomain sites give 404 for links after home’ is closed to new replies.