RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.mochipl.mochipl.jrchosting.com$
RewriteRule ^/?$ http://mochipl.mochipl.jrchosting.com [R=301,L]

RewriteRule ^([a-z0-9\-]*)\/([a-z0-9\-]*)\-(.+)\.html$ /home/showgame/$3 [L]
RewriteRule ^([a-z0-9\-]*)\-(.+)\-(.+)\.html$ /home/showByCategory/$2/$3 [L]

RewriteCond $1 !^(index\.php|images|files|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
