WordPress.org

Ready to get started?Download WordPress

Forums

Basic htaccess question if more than 1 htaccess (4 posts)

  1. Dgold
    Member
    Posted 8 years ago #

    Hello, Just to be sure I don't mess something up

    Is it totally OK to have more than 1 htaccess, where for example I have 1 WordPress with htaccess in the Root folder, and then a subfolder has another WordPress with it's own htaccess?

    They'll both function properly right?

  2. chinaman
    Member
    Posted 8 years ago #

    Yep, that's ok. I have done it myself before.

  3. VaamYob
    Member
    Posted 8 years ago #

    That's one of the great benefits of apache's .htaccess files, as opposed to other web servers with their more static/centralized rewrite/configuration settings.

    .htaccess files can be placed randomly in directories and only get invoked when needed.
    .htaccess settings even get "inherited" by sub-directories.

    http://httpd.apache.org/docs/1.3/howto/htaccess.html

  4. Dgold
    Member
    Posted 8 years ago #

    Thanks for the link VaamYob. Very helpful, that is. (On second thought, I read through the link & it didn't teach me much about how to use the htaccess, so I'm still looking for Basic instructions on that, but still helpful.)

Topic Closed

This topic has been closed to new replies.

About this Topic