Installing Joomla as addon domain using .htaccess - Joomla! Forum - community, help and support
hi,
i using fresh joomla 2.5.7 install , installed addon domain main one. used following rewrite rule in root's .htaccess:
where addon.eu addon domain , addondir content directory (joomla install in case). problem when open addon.eu in browser automatically replaces url addon.eu/addondir/index.php instead of addon.eu/index.php. there more rewrite rule done.
this rewrite code works great plain html , wordpress, tried joomla, zen cart , drupal , have such (or similar) behavior.
any appreciated!
i using fresh joomla 2.5.7 install , installed addon domain main one. used following rewrite rule in root's .htaccess:
code: select all
rewriteengine on
rewritebase /
rewritecond %{http_host} ^addon\.eu [or]
rewritecond %{http_host} ^www\.addon\.eu
rewritecond %{request_uri} !/addondir
rewriterule ^(.*)$ /addondir/%1 [l]
where addon.eu addon domain , addondir content directory (joomla install in case). problem when open addon.eu in browser automatically replaces url addon.eu/addondir/index.php instead of addon.eu/index.php. there more rewrite rule done.
this rewrite code works great plain html , wordpress, tried joomla, zen cart , drupal , have such (or similar) behavior.
any appreciated!
suggest starting point refer http://docs.joomla.org pages , search htaccess , review information available in particular http://docs.joomla.org/htaccess_examples_(security)
Comments
Post a Comment