Sorry if this has been posted before, I was unable to find anything about this:
I installed Serendipity to www.mydomain.com/s9y and everything is working good, but I want my blog to come up under:
www.mydomain.com
Thanks for the help.
How do I redirect my home page from my install directory....
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How do I redirect my home page from my install directory
Please also read http://www.s9y.org/forums/viewtopic.php?t=2481
# 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/
# 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/
I used
To fool the browser that it has to look there, needs mod_rewrite and mod_rewrite support enabled in serendipity, put serendipity browser path to / and change upload path apropriatly. You do not need to change template path. And offcourse change the url to your weblog.
Code: Select all
RewriteEngine On
RewriteRule ^$ /serendipity/
RewriteRule ^(.*) /serendipity/$1 [L]Why don't set the correct directory for the domain?
Set www.mydomain.com to the directory you have installed s9y
Set www.mydomain.com to the directory you have installed s9y