Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21
    Wes
    Wes is offline Member
    Join Date
    Aug 2007
    Posts
    84

    Default

    eaaaheyan - Sorry...I haven't a clue what you're talking about!

  2. #22
    paul's Avatar
    paul is offline Moderator
    Join Date
    Nov 2005
    Posts
    2,518

    Default

    Quote Originally Posted by Wes View Post
    Hi Northern,
    To be honest, the more I read on the matter, the more confused I became. In the end I just created files in notepad named .htaccess and uploaded one to the root of each site in cpanel with the code below on each - of course after changing the two areas for the relevant site name info each time. This now has the effect of making my site url revert to the www. version ( namely www.mysite.co,uk) instantly in my browser address bar when I type in the non www. version ( namely mysite.co.uk)
    I got a bit confused at first trying to save the .htaccess files when I created them until I realised you have to set the file type to 'all files'.


    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yoursite.com
    RewriteRule (.*) http://www.yoursite.com/$1 [R=301,L]
    Well, I'll try that way and also I would like to create personalize Error 404 page for the addon domain.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •