WordPress.org

Ready to get started?Download WordPress

Forums

second wp installation not loading (9 posts)

  1. bblackbird
    Member
    Posted 1 year ago #

    [ Moderator note: title de-capped. Please don't use all caps it comes across as yelling and that's considered rude. ]

    I installed zencart on my root directory and wordpress on a subfolder /blog, and that worked well. Now I want to add another wordpress to my domain and installed it in the same way I did the first one, only to a different subdirectory /photo. I've tried installing it with Fantastico and as it didn't work, removed it and did a manual installation with the same result. The problem is that went I go to .../photo/wp-admin it shows the landing page of my domain (which is a zencart page). It I cheat and try .../photo/wp-login.php it takes me to the login page where I can enter the username and password. If I enter the wrong password, it does the right thing and tells me that's not correct. If I enter the right login details, it looks like is going to take me to the second blog but as it goes back to photo/wp-admin - it just shows me my website landing page (again a zencart page). Meanwhile the navigation bar shows the address I want, but the screen shows a different page. So far, there has been no way to get into the succesful installation.
    Could there be a previous file that is affecting how this second installation is (not)working?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Check your root .htaccess file.

  3. bblackbird
    Member
    Posted 1 year ago #

    I checked the root .htaccess file and it was blank. I replaced it with one that says DirectoryIndex index.php
    I also check the .htaccess file in the public_html folder and that one has quite a bit in it, but I'm not sure what to look for.
    Here is what it says:

    RewriteOptions inherit
    ## BEGIN CEON URI MAPPING REWRITE RULE

    RewriteEngine On

    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    # which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    # which are not covered by main file extension condition above
    # Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/zc_admin [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite blog directory
    RewriteCond %{REQUEST_URI} !^/blog/ [NC]
    # Don't rewrite _private directory
    RewriteCond %{REQUEST_URI} !^/_private/ [NC]
    # Don't rewrite _vti_bin directory
    RewriteCond %{REQUEST_URI} !^/_vti_bin/ [NC]
    # Don't rewrite _vti_cnf directory
    RewriteCond %{REQUEST_URI} !^/_vti_cnf/ [NC]
    # Don't rewrite _vti_log directory
    RewriteCond %{REQUEST_URI} !^/_vti_log/ [NC]
    # Don't rewrite _vti_pvt directory
    RewriteCond %{REQUEST_URI} !^/_vti_pvt/ [NC]
    # Don't rewrite _vti_txt directory
    RewriteCond %{REQUEST_URI} !^/_vti_txt/ [NC]
    # Don't rewrite mailhive directory
    RewriteCond %{REQUEST_URI} !^/mailhive/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi-bin/ [NC]
    # Don't rewrite sitemap directory
    RewriteCond %{REQUEST_URI} !^/sitemap/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]

    ## END CEON URI MAPPING REWRITE RULE
    # 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

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

  4. bblackbird
    Member
    Posted 1 year ago #

    Or could it be one of the plugins I have installed on my first wp folder.
    I have the following plugins (not all are active)
    Akismet
    All in One SEO Pack
    Better WP Security
    CommentLuv
    Display Posts Shortcode
    Google Analyticator
    Google Analytics for WordPress
    Google XML Sitemaps
    Hello Dolly
    Image Widget
    InLinkz LinkUp
    IntenseDebate
    Jetpack by WordPress.com
    LinkWithin
    NextGEN Gallery
    NextGEN Public Uploader
    NextScripts: Social Networks Auto-Poster
    Page Links To
    SEO Friendly Images
    Sociable
    Ultimate TinyMCE
    W3 Total Cache
    WordPress Importer
    WP125
    WP Biographia
    WPtouch

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    Is WordPress running from the root domain?

  6. bblackbird
    Member
    Posted 1 year ago #

    No. Both are fully installed on separate subfolders and all the files are installed on each folder (separate) their is no wordpress on the root domain, but there is zencart.

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    Site url?

  8. bblackbird
    Member
    Posted 1 year ago #

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    If WP isnlt running the root domain, why do you have:

    # 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

    in your root .htaccess file? That should be removed.

Topic Closed

This topic has been closed to new replies.

About this Topic