WordPress.org

Ready to get started?Download WordPress

Forums

Install wordpress in a folder different to root (3 posts)

  1. borjabrela
    Member
    Posted 2 years ago #

    Settings:
    - I installed WordPress 3.2.1 in a subdirectory of my root:
    root/wordpress/
    - I want to install my blog in another subdirectory of my root:
    root/myblog/
    - My domain points to root/myblog/
    - I copied index.php to root/myblog/
    - I set the line to
    require('../wordpress/wp-blog-header.php');

    But it does not work.

    How do I have to define the 'require' in order to make it work? Or how do you suggest I set up my blog instead?

    Thanks so much.

  2. Tim S
    Member
    Posted 2 years ago #

    Why not install WordPress to that specific folder? Or move your existing installation there? WordPress is domain specific so it need ALL the files to be in the correct place for it to function correctly.

  3. govpatel
    Member
    Posted 2 years ago #

    You can change urls in wordpress admin to new directory name and log in server and rename wordpress to myblog

Topic Closed

This topic has been closed to new replies.

About this Topic