Reset your permalinks to default. Does it work?
Useful info: Using_Permalinks
Yes, it does work with default permalinks. I was hoping that this would be why you can not access the demo site from demo.mytimewithgod.net. This should be accessible in that form but it redirects to the main site. This is what i get from the headers:
HTTP/1.1 301 Moved Permanently
Date: Wed, 10 Oct 2007 02:25:49 GMT
Server: Apache/2.2.6 (Linux/SUSE)
X-Powered-By: PHP/5.1.2
Set-Cookie: PHPSESSID=bvf4ll1cicih2aip5rr564s3v5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Pingback: http://www.mytimewithgod.net/demo/xmlrpc.php
Location: http://www.mytimewithgod.net/
Vary: Accept-Encoding
Content-Length: 0
Content-Type: text/html; charset=UTF-8
I don’t really understand you post above…
However I noticed one thing:
demo.mytimewithgod.net
and
mytimewithgod.net/demo
are NOT the same! they are two different addresses. Don’t use them as if they were interchangeable!
Apache has been setup to access demo.mytimewithgod.net, when mytimewithgod.net/demo is where it is installed (in a folder called demo off of the root). Thats why /demo is accessible. When you request a page, headers are sent back and this is what i get:
HTTP/1.1 301 Moved Permanently
Date: Wed, 10 Oct 2007 02:25:49 GMT
Server: Apache/2.2.6 (Linux/SUSE)
X-Powered-By: PHP/5.1.2
Set-Cookie: PHPSESSID=bvf4ll1cicih2aip5rr564s3v5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Pingback: http://www.mytimewithgod.net/demo/xmlrpc.php
Location: http://www.mytimewithgod.net/
Vary: Accept-Encoding
Content-Length: 0
Content-Type: text/html; charset=UTF-8
The bottom line is anyone should be able to access demo.mytimewithgod.net and instead, everybody gets redirected to the main site—-HTTP/1.1 301 Moved Permanently
WP never works well with “fake” subdomains. Your setting is a fake subdomain. It should NOT redirect anywhere.
subdomain.example.com should not redirect to example.com/subdomain – you will always have troubles with that.
I don’t want it to redirect. All the other vhost on apache work with no problems. WP is not doing the redirect, Apache is. It is much like giving WP is own directory