Forums

Redirect pages and posts from /blog to domain's public folder (3 posts)

  1. sallymoos
    Member
    Posted 2 years ago #

    Hi,

    I have set-up a new blog at http://www.domain.com/blog/ with many pages using format http://www.domain.com/blog/pagehere and many posts using http://www.domain.com/blog/posthere (plus all images urls the same format) but I really should have loaded WP into the domain's public_html folder to have http://www.domain.com/pagehere & http://www.domain.com/posthere

    Can this be changed by using htaccess rather than having to move the blog folders (and then change all paths for pages, posts and images) ?

    Thanks. :)

    Sal.

  2. ousep
    Member
    Posted 2 years ago #

    Follow the instructions here:
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
    It's just a matter of shifting/editing two files.

  3. sallymoos
    Member
    Posted 2 years ago #

    Many thanks, ousep, exactly what I was looking for :)

    Sal.

Topic Closed

This topic has been closed to new replies.

About this Topic