Viewing 7 replies - 1 through 7 (of 7 total)
  • Did you set this up as a WordPress Multisite installation, or are these two separate WordPress installations?

    Thread Starter Hans K

    (@hans-k)

    I did set up a Multisite installation. In the dashboard everything seems fine. But I think I didn’t get the difference between subdomains and subdirectories. I don’t know what settings I must have in my config file. If I change something there, than my main site seems to disappear.
    I’m still struggling…..

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Subdomain: foo.domain.com

    Subdirectory: domain.com/foo

    The second site will be https://www.allacoustic.n/babesinthegrass or www babesinthegrass.nl.

    DO NOT MESS WITH DOMAIN MAPPING YET

    You have to get Multisite working before you can map domains, which is what you want to do in the end ?? Walk, then run, eh? I promise, once you get the normal multisite working, we can help you with getting babesinthegrass.nl working ??

    Okay so https://www.allacoustic.nl/babesinthegrass is a subdirectory instance of WP.

    And as you’ll notice, it actually works, but it has unstyled content. That means your .htaccess probably isn’t correct ?? What’s in yours?

    Thread Starter Hans K

    (@hans-k)

    I had my provider forward the domeinname https://www.babesinthegrass.nl to https://www.allacoustic.nl/babesinthegrass
    (By the way, this is the name of a female band…..)
    I didn’t have a .htacces file, so I copied one, it has the following information.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [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]

    I hope it’s about right, but I’m still suck.
    Thanks for helping out!!!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ask your host if AllowOverride is set to All?

    Thread Starter Hans K

    (@hans-k)

    And as you’ll notice, it actually works, but it has unstyled content. That means your .htaccess probably isn’t correct ?? What’s in yours?

    Is my .htacces correct?

    I didn’t get a reply yet as far as AllowOverride is concerned. Does it have to be set to All?

    Why don’t I have acces to the admin of my second site?

    Sorry for all the questions, but I’m realy stuck….

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yes, your .htaccess is correct (or I would have said so).

    AllowOverride has to be either ‘All’ or ‘Options All’ or some variation there of. But the issue is that your server isn’t reading the .htaccess correctly, so it can’t serve up the pages.

    In this moment, you absolutely MUST ignore the second domain. Concentrate ONLY on https://www.allacoustic.nl/babesinthegrass and it’s situation. You have to walk before you run ?? Unless you’re Usain Bolt.

    The reason you can’t log in is the same as why the CSS isn’t working. WordPress needs .htaccess to redirect pages, and it’s not working. It’s not working because of your server.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I can't get my second site to work’ is closed to new replies.