I have changed htaccess in order to automatic redirect in browser from
http://domain.eu to
http://www.domain.eu
- see added bold script
Question is - will it work with joomla ( dynamic addresses etc.. )
Options +FollowSymLinks
#
# mod_rewrite in use
#
RewriteEngine On
RewriteCond %{HTTP_HOST} !(^www)
RewriteCond %{QUERY_STRING} !^$
RewriteRule (.*) http://www.%{HTTP_HOST}%{REQUEST_URI}?%{QUERY_STRING} [R=301,L]
RewriteCond %{HTTP_HOST} !(^www)
RewriteRule (.*) http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update YourJoomlaDirectory (just / for root)
# RewriteBase /YourJoomlaDirectory
#
# Rules
#
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
php_flag register_globals off
php_flag display_errors on
php_flag magic_quotes_gpc on