redirect?
Posted: Wed Mar 15, 2006 11:11 pm
I have moved my serendipity installation to a subdir off my root - in the interest of organization. Like www.mysite.com/blog/. Simple enough. What I'd like is for a user to be able to simply go to www.mysite.com and have serendipity pick it up. I'm working around it by using a stub index.php with a <meta> redirect statement. Works, but you still see www.mysite.com/blog/ in the URL window.
Is there a more elegant approach to doing this so the user never even knows they are in the /blog/ subdir? I've messed with the "Paths" part of the configuration but haven't been able to make it work. Thought about moving the serendipity index.php file to my root dir and then find a way to alter a path variable, if one exists, that points to the subdir.
Eric
Is there a more elegant approach to doing this so the user never even knows they are in the /blog/ subdir? I've messed with the "Paths" part of the configuration but haven't been able to make it work. Thought about moving the serendipity index.php file to my root dir and then find a way to alter a path variable, if one exists, that points to the subdir.
Eric