• Hello, all.

    I’m running into an issue with a second install of WP on a subdomain. My main site is running fine in the root domain, but a secondary install ion a subdomain isn’t performing properly.

    Installing 3.4.1, I cannot reach the install.php page. Instead, I get a page not found on the WP site in my root directory.

    I tried installing WP 3.1 from the Fantastico in the Control Panel, and was able to get it fully installed. Unfortunately, I am unable to log into the admin panel on that install, as it simply keeps me in a login loop. Has anyone encountered a similar issue?

    NOTE: I am NOT running multisite. These are two separate installs, with two separate databases, and nothing in common.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have you created a network for the subdomain?

    Thread Starter ffronw

    (@ffronw)

    I have not created a network. I have never used a network for this type of install before. Is this a new requirement for WP? I’ve run up to 8 sites on one domain in the past without setting up any networks.

    Any tips on this would be appreciated.

    What’s in your root .htaccess file? Like yourself, I run many WP sites on a single domain without any problems.

    Thread Starter ffronw

    (@ffronw)

    Contents of the root .htaccess file (with website replaced by “domain”

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    # Redirect non-www urls to www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www\.domain\.com
    RewriteRule (.*) https://www.domain.com/$1 [R=301,L]

    Try pulling out this:

    # Redirect non-www urls to www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www\.domain\.com
    RewriteRule (.*) https://www.domain.com/$1 [R=301,L]
    Thread Starter ffronw

    (@ffronw)

    It looks like that fixed it. Many thanks!

    No problem. What you could so is try re-inserting the section at the top of the .htacess file. General rule: the WP bit should always be last in the .htaccess file.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot log in on second WP install’ is closed to new replies.