WordPress.org

Support

Support » How-To and Troubleshooting » dueling htaccess files?

dueling htaccess files?

  • stealthpaws42
    Member

    @stealthpaws42

    Hi…Newbie here. I’ve been searching on how to use my WP blog as the index page for my URL..i.e., the home page for my site. I found some info…my current WP config is “www.mysite.com/wordpress”. Everything is in that file. I want to move the index.php to the root, but it needs it’s htaccess file, according to what I’ve read here. I already have a htaccess file in the root, as well as htpassword file… Won’t this cause conflict? anyone know a workaround? I’m pretty confused.

Viewing 2 replies - 1 through 2 (of 2 total)
  • cuban_cigar
    Member

    @cuban_cigar

    as far as I’ve seen, the only .htaccess needed for wordpress goes in the wordpress root ( same folder as wp-config.php). If it is the web root too then pretend other .htaccess code items above the wordpress definitions, or use the apache configuration file “httpd.conf” to hotload the directives for other folders.

    might as well put the htpasswd files above the web root so that no one has a chance to get at them

    James Huff
    Support Team Rep.

    @macmanx

    You could combine the content of the two .htaccess files. See this for more info:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘dueling htaccess files?’ is closed to new replies.