Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Moving WP from root to subfolder – and running it in the subfolder – how?

$
0
0

Replies: 0

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/

Seems I did something wrong somewhere.

  • This topic was modified 8 minutes ago by yellofish.

Viewing all articles
Browse latest Browse all 59525

Trending Articles