• Currently mysite.com is in root at /www/ (and works fine).

    I want to move it to /www/blog/ and also use the URL mysite.com/blog/

    How can I do that? I am on cPanel if that makes a difference.

    (In the root will then go a static copy of the WP site, but from time to time I need to go to WP to make changes to the static files)

    So far I did add the /blog/ in General Settings both, moved all files to /blog/ and changed index.php to require __DIR__ . '/blog/wp-blog-header.php';

    But I get 404 with mysite.com/blog/

    Does the .htaccess need a change too?

    Seems I did something wrong somewhere.

    • This topic was modified 3 years, 3 months ago by yellofish.
    • This topic was modified 3 years, 3 months ago by yellofish.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Moving WP from root to subfolder – and running it in the subfolder – how?’ is closed to new replies.