Hi there -- I've searched the forums for this and can't find it. I have a multisite wordpress network which has caused www.mymaindomain.com to not work. I need the syntax for the mod_rewrite to redirect www.mymaindomain.com to mydomain.com basically the syntax to this comment: Have in mind though, that *.mydomain.com also includes www.mydomain.com (it is just a regular subdomain). If you want to point www.mydomain.com to your Django app as well, you can use some HTTP redirect rule (via mod_rewrite), that would redirect the visitors from http://www.mydomain.com to http://mydomain.com. asked 13 Jan '11, 09:03 dewey22 |
You can redirect you application by following the documentation here: http://docs.webfaction.com/software/static.html#redirect-a-domain-with-a-static-cgi-php-app In the example, it redirects the non www version of your domain to the www version of your domain. Change:
To:
answered 13 Jan '11, 11:31 aaronh ♦♦ |
ahhh thanks so much!! I couldn't find the documentation! answered 14 Jan '11, 14:45 dewey22 |