11
Thanks for taking some time on this trabis.
I checked about what Peekay said indeed. I couldn't find his exact line though. My lines or codes were always written in a slightly different way than Peekay..?? I made a change that seemed relevant to me but, 48 hours later nothing changed.
I really think that i just need to have Apache to be able to read or reach my FTP file. Because, everythings seems in order and relevant in my FTP files.
The .htaccess file doesn't seems to be read either..??
- Here below is the .htaccess codes i tried.
*************************
Redirect to www using htaccess redirect
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$
http://www.domain.com/$1 [r=301,nc]
Please REPLACE domain.com and www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
********************************
Is that an appropriate set of codes to use?
Thx,