Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Htaccess problem
#2
There is no hosting panel where you can define which domain (with or without www) points to which directory on the server?

For .htaccess, read here;

http://kb.mediatemple.net/questions/85/U...w-or-https

they show this way:

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

you see the difference?

your line ends with "domain\.com$" but the working example which I tested, ends with "example.com [NC] [NC]"

test it out!
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
Htaccess problem - by harshalone - 2011-09-08, 21:05:20
Htaccess problem - by Connie - 2011-09-08, 21:09:47
Htaccess problem - by Vulch - 2011-09-10, 07:45:12



Users browsing this thread: 1 Guest(s)