• I have Drupal running in my root directory but want to migrate to wordpress, so I installed WP in a subdirectory: https://www.mysite.com/wordpress

    If I want to load a WP page, I get redirected to Drupal 404

    I want to finish the WP site “behind the scenes” before switching, isnt this possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What is in your root .htaccess file?

    Thread Starter kapitein3oog

    (@kapitein3oog)

    Hey esmi, in my root is the default .htaccess file of Drupal.

    But I placed a .htaccess file in the WP directory with the following code:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L,QSA]
    </IfModule>

    Now WP works fine!

    Glad to hear that you got it sorted. Once the WP is finished and ready to launch, see Allow WordPress to take over the root domain for a quick & easy way to let WP take over the domain.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP in drupal directory’ is closed to new replies.