Hi all, I would like to map my subdomains to my categories.
I have set up three subdomains as follows:
audio.mydomain.com
video.mydomain.com
photos.mydomain.com
The actual path in my web directory is:
public_html/audio
public_html/video
public_html/photos
And have set up three categories in serendipity:
audio
video
photos
What I want to happen is when someone clicks on for example audio.mydomain.com it displays all my audio entries. I want the url to display audio.mydomain.com rather than www.mydomain.com/categories/1-audio
Would this be a mod rewrite thing? I have the pretty URL option turned on in serendipity and have looked at the .htaccess file but I dont really understand it. If anyone could pass on any pointers that would help me achieve this I would be most grateful.
I think you need to let all three domains point to your public_html/serendipity directory, not to their own directories. Only then you can use the mod_rewrite stuff as intended.
If you don't get that to work, you would need to create your own serendipity plugin, or use HTTP redirection but then loose the URL name "audio.mydomain.com".
Best 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/
# 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/