WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just created a blog.mysite.com domain and installed WordPress. However, when I go to blog.mysite.com it isn't redirecting to WordPress - blog.mysite.com/wordpress. Should I move the contents of the /wordpress directory to my blog root folder or create an .htaccess redirect?

This is only going to be a wordpress blog so I assume I can move the files instead of creating a redirect, no?

Thank you! ;)

share|improve this question
Do you want your blog to appear on - blog.mysite.com/wordpress OR just blog.mysite.com – amit Aug 21 '12 at 17:56
Thanks for the reply amit! Just blog.mysite.com – user4006 Aug 21 '12 at 18:03
If there is nothing else in the root, then I'd move the files there. – Joseph Leedy Aug 21 '12 at 18:24
Only plesk-stats but I assume this won't conflict with wordpress? – user4006 Aug 21 '12 at 18:27

You should put the WordPress files in the root of the subdomain - that is, wherever your host's document root for blog.mysite.com is. In my case, that's /public_html/blog; but I assume that could be different from host to host.

I would recommend doing a fresh install, rather than just moving the files - unless you're comfortable with potentially manually editing the DB to change WordPress URL/Site URL settings.

share|improve this answer

Refer to Giving WordPress Its Own Directory in Codex: Using a pre-existing subdirectory install.

You don't have to move everything, just the index.php file needs to be copied to root and updated to point to your subdirectory install.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.