Hi,
I'm hosting with Bluehost. I have a Joomla site in a subdirectory, #####, off public_html.I'm using the following directives in the .htaccess file located in public_htmal to rewrite the URL so that instead of seeing http://www.#####.com/#####/about.html the subdirectory would be invisible and you would see http://www.#####.com/about.html.
Code:
# #####/public_html/
AddHandler application/x-httpd-php5s .php
RewriteEngine on
Options +SymLinksIfOwnerMatch
RewriteBase /#####/
RewriteCond %{HTTP_HOST} ^(www.)?#####y.com$
RewriteCond %{REQUEST_URI} !^/#####y/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /#####/$1
RewriteCond %{HTTP_HOST} ^(www.)?#####.com$
RewriteRule ^(/)?$ #####/index.php [L]
DirectoryIndex index.php index.html index.htm
Unfortunately this doesn't work and the subdirectory is visible in the URL.I contacted Bluehost tech support and their response is that this is a Joomla issue and is a result of how Joomla handles writing internal links??
I've tried a couple of variations of the .htaccess rules but no luck with anything I've tried.
Thanks,






