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:

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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support