Asalehh/TopicsViewerV3.0/master/.htaccess - Htaccess File

Asalehh/TopicsViewerV3.0/master/.htaccess

AddDefaultCharset windows-1256

RewriteEngine on
RewriteRule ^goto-([0-9]+)-([^/]+).html$ view.php?id=$1
RewriteRule ^goto-([0-9]+)-([^/]+)$ view.php?id=$1
RewriteRule ^goto-([0-9]+)$ view.php?id=$1
RewriteRule ^showtopic-([0-9]+)-([^/]+).html$ showtopic.php?id=$1
RewriteRule ^showtopic-([0-9]+)-([^/]+)$ showtopic.php?id=$1
RewriteRule ^showtopic-([0-9]+)$ showtopic.php?id=$1
RewriteRule ^cat-([0-9]+)-([^/]+).html$ sections.php?showC=$1
RewriteRule ^cat-([0-9]+)-([^/]+)$ sections.php?showC=$1
RewriteRule ^cat-([0-9]+)$ sections.php?showC=$1

##redirection for OLD methods##
RewriteRule ^view-([0-9]+)-([^/]+).html$ view.php?id=$1
##redirecting Converted Links##
RewriteRule ^count-([0-9]+)-([^/]+).html$ view.php?id=$1
RewriteRule ^cat-([0-9]+)-([^/]+).html$ sections.php?showC=$1

On Github License

Files

Download PDF of Htaccess file

Comments

Apache