• Dgold

    (@dgold)


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • chinaman

    (@chinaman)

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

    vaamyob

    (@vaamyob)

    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.

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

    Thread Starter Dgold

    (@dgold)

    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.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Basic htaccess question if more than 1 htaccess’ is closed to new replies.