Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
redirect help
how to redirect viewtopic.php?f=12&t=366 to discussions/some-name ?
Tagged:
0
Best Answer
-
Linc AdminThe URL you should be redirecting to is discussion/366 in this case. The 'some-name' is superfluous and can't be easily added during the redirect.
The easiest way to explain would be to drop a file called 'viewtopic.php' into your forum folder that does this:<?php if (isset($_GET['t']) && is_numeric($_GET['t'])) header('Location: discussion/'.$_GET['t']); else header('Location: discussions');
0
Answers
The easiest way to explain would be to drop a file called 'viewtopic.php' into your forum folder that does this: