Forum Moderators: phranque
Any ideas are welcome,
Thanks.
Here is my htacces code:
RewriteEngine on
RewriteRule ^$ /index.php [L]
RewriteCond $1 !^(index\.php¦images¦css¦scripts¦lib¦audio¦flash¦Js¦guide¦docs¦robots\.txt¦favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) [%{HTTP_HOST}...] [NC]
RewriteEngine on
#
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
#
RewriteCond $1 !^(index\.php¦images¦css¦scripts¦lib¦audio¦flash¦Js¦guide¦docs¦robots\.txt¦favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
In general, you want to put all external redirects first in your .htaccess file, in order from most-specific pattern to least-specific, followed by all internal rewrites, again in order from most-specific pattern to least-specific pattern.
Replace all broken pipe "¦" characters above with solid pipe characters before use; Posting on this forum modifies the pipe characters.
Jim
this means that when i go to the alias domain in this form: [alias.com...] i get to the correct page & i know that the htaccess in working for this domain becuase it knows that if i go to [alias.com...]
it is actually [alias.com...] .
However still when i try to go to [alias.com...] i don't get transfered.
any ideas?
If this code executes, it will work. So it's evidently not being executed when you request alias.com. The cause of this problem lies outside of this .htaccess file.
Jim