dueling htaccess files? (3 posts)

  1. stealthpaws42
    Posted 6 years ago #

    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.

  2. cuban_cigar
    Posted 6 years ago #

    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

  3. James Huff
    Support Team Rep.
    Posted 6 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Topic