Skip to content

Instantly share code, notes, and snippets.

@Ereza
Last active May 14, 2017 23:30
Show Gist options
  • Save Ereza/867cf0b83704ddb751113cbeb2dde3e5 to your computer and use it in GitHub Desktop.
Save Ereza/867cf0b83704ddb751113cbeb2dde3e5 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