Skip to content

Instantly share code, notes, and snippets.

@nerestaren
Forked from Ereza/.htaccess
Last active May 14, 2017 23:27
Show Gist options
  • Save nerestaren/6e47e3ae4a576fd36996a3672566e7e7 to your computer and use it in GitHub Desktop.
Save nerestaren/6e47e3ae4a576fd36996a3672566e7e7 to your computer and use it in GitHub Desktop.
htaccess for seourls
RewriteRule ^(.+)-t([0-9])-([0-9]).html viewtopic.php?t=$2&start=$3&%{QUERY_STRING} [L]
RewriteRule ^(.+)-t([0-9]).html viewtopic.php?t=$2&%{QUERY_STRING} [L]
RewriteRule ^(.+)-f([0-9])-([0-9]).html viewforum.php?f=$2&start=$3&%{QUERY_STRING} [L]
RewriteRule ^(.+)-f([0-9]).html viewforum.php?f=$2&%{QUERY_STRING} [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment