then i apologise for that assumption
Sorry its been a very very long time trying to sort this issue. BUT i have
Here is how i did it for anyone else who is stuck. ( this is for those at my level - basic. )
1.Open text edit and type in
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
2.I then made it into Format > Plain Text
Save it as htaccess to the desktop ( dont save as .htaccess as it is invisible and you wonât see it on the desktop )
-
Open your root folder ( on the server i.e. htdocs ) with your ftp software Cyber duck or Yummy or similar
-
Drag the txt file into the root folder (i.e. htdocs )
-
Remove the .txt file name from the newly placed file
-
Add a full stop to the beginning of the name i.e. .htaccess
-
the file will become invisible - (You can go into your ftp programme preferences and set to show invisible files. Its quite easy to find )
-
This will redirect from name.co.uk to www.name.co.uk - So in RW settings put the full address including the www.
-
It appears to work.
Important RW settings > the site domain must have www. included so it publishes to this domain address.
I think thatâs it , if it works for you please share. Its been the most frustrating week Ive had with doing a site.
This may spare you.
BTW - if you want to use this again on another domain -
- Select the .htaccess in the root folder ( if you canât see it , then you havenât made it visible DUR ! - go to the preferences as above )
- Duplicate ( see one of the menus )
- remove the . at the beginning ( remember it wonât show on the desktop if it has the . at the front )
- Drag the duplicated htaccess file to your desktop or folder of choice.
- Drag it into your next project root folder and add the . again to the beginning
- Send me the wine you would have drank trying to sort this out for yourself