Access subdirectory WP site with www (2 posts)

  1. djblue32nyc
    Posted 3 years ago #


    I have a subdirectory in my httpdoc folder that holds all the WordPress folders for a site. What changes do I need to make to my .htaccess file in order to access that site with www?

    Here's what I have in my .htaccess file so far:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /labienal/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /labienal/index.php [L]
    # END WordPress

    As an extra note... in my root .htaccess I have this included:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^elmuseo\.org$ [NC]
    RewriteRule ^(.*)$ http://www.elmuseo.org/$1 [L,R=301]

  2. djblue32nyc
    Posted 3 years ago #

    I've seen this done for the .htaccess in the root folder, but I'm not sure how to do it for a subdirectory.

Topic Closed

This topic has been closed to new replies.

About this Topic