I have a sub-domain called http://user.wangjianshuo.com. I used that domain to present user contributed content, which is the comment section of my blog. I didn’t put too much effort into it yet, so it is pretty simple and may not be attractive as it should be. This is the current situation of User Portal.

Home Page

This is the current homepage – pretty embarrassing, isn’t it? I believe my readers deserves much more introduction, and space than this. This is a point that needs improvement.

image

Behind the Scene

Currently, there is actually no really working files at this domain. It is just one .htaccess file reads below:

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*$  /analytics/mt-comment.php [L]

The reason I used /public_html/user/analytics folder was, it was actually a replica of /scripts/analytic folder. I am considering moving the folders back to one central location, to avoid complicated problems in the future.

Update: I have confused myself already. /analytics IS a symbolic link from /user/ folder to the /scripts/analytics folder. So it IS in the central location. Now I only need to worry about one file: mt-comment.php