I have code to my .htaccess:
Code: Select all
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?samplesite\.pl [NC]
RewriteRule (.*) http://samplesite-new.pl/$1 [R=301,L]
I don't know but maybe my file should be in a different place or my htaccess is bad?
What is the correct redirect and where I should put the file .