WordPress.org

Ready to get started?Download WordPress

Forums

Moving Blog to root (4 posts)

  1. rice
    Member
    Posted 8 years ago #

    I have set up my blog as 'mysite.com/BLOG' However i want it so that when you go on my sites root ('mysite.com')it automatically comes up with the blog. Is there a way of doing this without changing all the links etc.?

    Any help would be greatfull.

    Cheers Dan

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Try:
    Login
    Change both urls in Options
    Logout.
    Move all the folders / files to root
    Login

    If anything strange goes on, use this guide
    http://www.tamba2.org.uk/wordpress/site-url/
    to restore the urls.

  3. rice
    Member
    Posted 8 years ago #

    Cheers ill give it a go n see what happens

  4. RyanS
    Member
    Posted 8 years ago #

    I had the same issue. Not sure if this would work for you, but I just changed my index.php file to:

    '<?php
    header("location:http://my site here/blog/index.php");
    exit;
    ?>'

    That's it. Works flawlessly.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags