richardk wrote:Try the following in a /.htaccess
- Code: Select all
DirectoryIndex index.html index.php
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^$ /index.html [QSA,L]
RewriteCond %{HTTP_HOST} !^www\.toranj-gem\.com$ [NC]
RewriteRule .* http://www.toranj-gem.com%{REQUEST_URI} [R=301,L]
and the following in /en/.htaccess
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^$ /en/index.php [R=301,L]
RewriteCond %{HTTP_HOST} !^www\.toranj-gem\.com$ [NC]
RewriteRule .* http://www.toranj-gem.com%{REQUEST_URI} [R=301,L]
so sorry
i dont undretood your question correctly
and i have this problem now
in the "en"
this link is not shown link's content and redirect to main domain !
http://www.toranj-gem.com/en/turquoise.html
in the root i have to addresse :
www.toranj-gem.com
www.toranj-gem.com/index.html
and this address not work !
www.toranj-gem.com/index.php