WordPress.org

Ready to get started?Download WordPress

Forums

Directory Flexibility (8 posts)

  1. shelleyp
    Member
    Posted 10 years ago #

    I read in the 1.2 change log about directory flexibility, and running one's weblog 'separate' from the WP files. I can't find anything that explains this anywhere; or even anything that provides more information about this.
    What is meant by this? What would we need to do? Any instructions? Any more detail?

  2. thomasmaas
    Member
    Posted 10 years ago #

    See in options/general in your admin interface:
    WordPress address (URI):
    Blog address (URI):
    by changing the blog address from your wordpress address you will have your weblog 'separate' from the WP files. If you change this new content for your htaccess is automatically generated (options/permalinks), you will only have to update your htaccess file with this newly generated content (templates/.htaccess).
    simple, no?

  3. shelleyp
    Member
    Posted 10 years ago #

    Not particularly. A brief addendum that this is a redirect hack would have been more definitive. But thanks for pointing out the items in the options -- didn't see a direct link between this 'change' and those items.
    So what you're saying is that I keep the PHP files in the WP directory, and just generate and move the .htaccess file to the new directory and it won't have any of the PHP files. Redirects will be done for everything: index.php, comment file, trackback, etc.
    That's cool, but I guess I was expecting something that could be set in the code that wouldn't be redirect and rewrite dependent.

  4. shelleyp
    Member
    Posted 10 years ago #

    And then there's wp-config.php, and wp-blog-head.php, and the internationalization directories...
    The generated htaccess didn't include a link to the index.file, so had to move that up. But by doing so, all the other files are off.
    In fact, the only generated htaccess I see is for the comments, feed, and trackback. I assume then that is to try and hide the wordpress installation location for security reasons?

  5. carthik
    Member
    Posted 10 years ago #

    There's
    http://wordpress.org/docs/installation/different-address/
    that explains it succinctly.

  6. shelleyp
    Member
    Posted 10 years ago #

    That sure does, and sorry I missed it earlier.
    Thanks!

  7. shelleyp
    Member
    Posted 10 years ago #

    Nah, not a worry. You pointed in the right direction. It's just I needed to make a couple of other stops, first.
    But you're right, it is very simple to implement.

  8. carthik
    Member
    Posted 10 years ago #

    Since this, the changelog has been updated to show a link to the tutorial. Thanks for pointing that out shelleyp

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.