Serepdipity and subdomains

Having trouble installing serendipity?
Post Reply
audiodef
Posts: 4
Joined: Mon Apr 19, 2010 2:57 pm

Serepdipity and subdomains

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Serepdipity and subdomains

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
audiodef
Posts: 4
Joined: Mon Apr 19, 2010 2:57 pm

Re: Serepdipity and subdomains

Post 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.
Post Reply