Support » Fixing WordPress » Access subdirectory WP site with www

  • Hi,

    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]
    </IfModule>
    # 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]

Viewing 1 replies (of 1 total)
  • I’ve seen this done for the .htaccess in the root folder, but I’m not sure how to do it for a subdirectory.

Viewing 1 replies (of 1 total)
  • The topic ‘Access subdirectory WP site with www’ is closed to new replies.