WordPress.org

Support

Support » Installation » Install wordpress in a folder different to root

Install wordpress in a folder different to root

  • borjabrela

    @borjabrela

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    govpatel

    @govpatel

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Install wordpress in a folder different to root’ is closed to new replies.
Skip to toolbar