This works for me:
Code:
# Makes catalog seem like the root in the browser address.
# change domain to your url
# change catalog to your sub folder name
# the next 3 line are here if you do not have them already in the file.
Options -Indexes
RewriteEngine on
Options +FollowSymLinks
#
RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC]
RewriteRule .* http://www.domain.com/ [L,R=301]
RewriteRule ^$ catalog/index.php [L]
RewriteCond %{DOCUMENT_ROOT}/catalog%{REQUEST_URI} -f
RewriteRule .* catalog/$0 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* catalog/index.php?q=$0 [QSA]
Skip
Bookmarks