RewriteEngine On
Options +FollowSymLinks -Multiviews

#Index
RewriteRule ^index\.html$ index.php [QSA,L]
RewriteRule ^index-([0-9]+)\.html$ index.php?c=$1 [QSA,L]

#InterPhoto
RewriteRule ^InterPhoto\.html$ InterPhoto.php [QSA,L]
RewriteRule ^InterPhoto-([0-9]+)\.html$ InterPhoto.php?id=$1 [QSA,L]

#MyDesk
RewriteRule ^mydesk\.html$ mydesk.php [QSA,L]
RewriteRule ^mydesk.edit\.html$ mydesk.edit.php [QSA,L]
RewriteRule ^mydesk.images\.html$ mydesk.images.php [QSA,L]
RewriteRule ^mydesk.noaccess\.html$ mydesk.noaccess.php [QSA,L]
RewriteRule ^mydesk.upload\.html$ mydesk.upload.php [QSA,L]

#News
RewriteRule ^news\.html$ news.php [QSA,L]
RewriteRule ^news-([0-9]+)\.html$ news.php?id=$1 [QSA,L]

#Others
RewriteRule ^about\.html$ about.php [QSA,L]
RewriteRule ^contact\.html$ contact.php [QSA,L]
RewriteRule ^getbackpass\.html$ getbackpass.php [QSA,L]
RewriteRule ^login\.html$ login.php [QSA,L]
RewriteRule ^publish\.html$ publish.php [QSA,L]
RewriteRule ^register\.html$ register.php [QSA,L]
RewriteRule ^categories\.html$ categories.php [QSA,L]
