Mam stronę znajdującą się w domenie: nazwa.pl/mojkatalog
Po wpisaniu powyższego adresu chciałbym żeby nastąpiło przekierowanie na www.nazwa.pl/mojkatalog
Mam taki htaccess:
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^ nazwa.pl/ [nc] RewriteRule ^(.*)$ <a href="http://nazwa.pl/$1" target="_blank">http://nazwa.pl/$1</a> [r=301,nc] ErrorDocument 500 /cms/error_redirect.php ErrorDocument 404 /cms/error_redirect.php ErrorDocument 401 /cms/error_redirect.php ErrorDocument 403 /cms/error_redirect.php RewriteRule index.html$ index.php [L,QSA] RewriteRule ^city/(.*)/(.*)\.html$ index.php?webid0=city&webid1=$1&webid2=$2&%{QUERY_STRING}&modrw [L,QSA]
Ale niestety nie działa

W momencie gdy plik znajduje się w nazwa.pl - to jest ok....