Alex
Alex

Reputation: 9

Wordpress in a sub-directory

Ok, so I set this up:

One wordpress site in the main folder so that is at domain.com and works fine.

The other is domain.com/ja now the main page works BUT for the pages e.g. domain.com/ja/about it redirects to domain.com/about

How can I solve this?

Upvotes: 0

Views: 59

Answers (2)

BSK-Team
BSK-Team

Reputation: 1810

A thought you modify your wp-config file?

define( 'PATH_CURRENT_SITE', '/ja/' );

Upvotes: 0

donadoniman
donadoniman

Reputation: 11

It may problem with your .htaccess file.

Open your .htaccess file and change it.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /ja/

    RewriteRule ^index\.php$ - [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /ja/index.php [L]

    </IfModule>

    # END WordPress 

Upvotes: 1

Related Questions