Search found 1 match
- Tue Jul 19, 2016 10:24 am
- Forum: The Lounge
- Topic: redirect 301 where contain .htaccess
- Replies: 1
- Views: 1176
redirect 301 where contain .htaccess
Hi, I have code to my .htaccess: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?samplesite\.pl [NC] RewriteRule (.*) http://samplesite-new.pl/$1 [R=301,L] My file is in the root directory but don't it works. I don't know but maybe my file should be in a different place or my htaccess is bad? Wha...