Running Syncato on the root URL of a site

I finally got around to configuring Syncato to run on the root URL of the site. So when you go to http://www.xmldatabases.org you don't see the redirect to http://www.xmldatabases.org/WK/blog/. It just required some simple mod_rewrite work. Here's what I'm using.


    RewriteEngine on    
    RewriteRule ^/$ /WK/blog/ [PT]    
    RewriteRule ^/([^\/]*\.(page|category|item))$ /WK/blog/$1 [PT]

  

If you have any custom stylesheets that you use as part of a URL you need to add the extension as part of the second RewriteRule.

Posted by Kimbro Staken

Thursday May 13, 2004 at 6:29 PM
Recommended Sites