• i have a domain http://www.theblogfordads.com

    the wordpress install is in http://www.theblogfordads.com/tbfd/

    i have the htaccess file in the root as follows so it redirects theblogfordads.com/ to the actual blog install dir /tbfd/ and hides its

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?theblogfordads.com$
    RewriteRule ^(/)?$ tbfd/$1 [L]

    but when i go anc click on a post it will bring the subdirecoty back up the htaccess file in the actual install dir /tbfd/ is ass follows:

    This is the one i believe is causing the issue? how can i make it so no matter what post or where it only shows http://www.theblogfordads.com in the address bar

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘hide my subdirectory everywhere on my domain’ is closed to new replies.