Results 1 to 5 of 5

Thread: Dumb question time

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    19

    Default Dumb question time

    How would I make http://phreque.com automatically add the www. to the address? (using a Security certificate and it needs to bet set properly to take full advantage, even for lazy typers like me )

    Thanks
    Jacob

  2. #2
    Senior Member
    Join Date
    Mar 2004
    Location
    Australia
    Posts
    183

    Default

    Create a .htaccess file in /home/username/public_html/, and put this in it:

    Code:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^phreque.com [NC]
    RewriteRule ^(.*)$ http://www.phreque.com/$1 [L,R=301]
    That should route requests without www. to the www. url.

    James

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    19

    Default

    Yarhar! That worked poifectly - thank you!!

    Jacob

  4. #4
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,635

    Default

    Thanks for posting that James! Another customer posted a ticket a little bit ago asking for the same thing and it was easy enough to just show them this thread

  5. #5
    Senior Member
    Join Date
    Mar 2004
    Location
    Australia
    Posts
    183

    Default

    No problem - glad I could help!

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
  •