Page 1 of 1
Serepdipity and subdomains
Posted: Mon Apr 19, 2010 3:00 pm
by audiodef
I just installed Serendipity on my hosting account. It works fine as audiodef.com/blog but not as blog.audiodef.com. I changed the .htaccess file so the index is now index.php instead of /blog/index.php, but the templates don't show up around the content when I use the subdomain url. Can someone tell me how to fix this?
Re: Serepdipity and subdomains
Posted: Mon Apr 19, 2010 3:59 pm
by garvinhicking
Hi!
Yes, serendipity can only properly work when the path names are the same on every access variant.
You can run s9y on
http://subdomain.domain.com/blog/ and blog.domain.com/blog/ but not blog.com.com and domain.com/blog.
To do so would require you to add some manual URL rewrite rules which might possibly break things. Reason is that your blog entries and other plugins may reference always to /blog/ or /, and the other is not available depending on the domain host.
Regards,
Garvin
Re: Serepdipity and subdomains
Posted: Mon Apr 19, 2010 4:02 pm
by audiodef
Thanks for explaining. I'm going to create a new top level subdir, create a php redirect to point to my blog dir, and redirect my blog subdomain to that.