• Hi,

    I installed WordPress in my root folder and in a subdirectory.

    1) /html/user1200/wordpress/
    2) /html/user1200/private_blogs/wordpress/

    First works fine.
    Second throws problems: When I navigate to 2) the home screen
    /html/user1200/private_blogs/wordpress/home is shown, but when
    I click a link, e.g. “activities”, /html/user1200/private_blogs/wordpress/activities, I am beeing redirected to the first installed WordPress version. WHY?

Viewing 4 replies - 1 through 4 (of 4 total)
  • might be an incorrect .htaccess file.

    Thread Starter wdmprojekt

    (@wdmprojekt)

    It looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter wdmprojekt

    (@wdmprojekt)

    The solution: Adapt RewriteRule

    RewriteRule . /private_blogs/index.php [L]

    I think you should change RewriteBase instead.

    See what WordPress generates for your 2nd install (the private_blog one)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘one webserver 2 installed wordpress in different dirs’ is closed to new replies.