Forums

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

  1. borjabrela
    Member
    Posted 6 months 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 6 months 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 6 months ago #

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

Reply

You must log in to post.

About this Topic