MyBB Community Forums

Full Version: Redirects
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, I want the link:
http://codmedia.net/private.php?action=send&uid=1
To automatically go to:
http://codmedia.net/forms

But only that link, like the link below, would still go there:
http://codmedia.net/private.php?action=s...bject=cats

How would I do that?
Thanks!
Anyone have any ideas?
Thanks!
(2012-02-26, 03:05 PM)iTzz_MaDnEsS Wrote: [ -> ]Anyone have any ideas?
Thanks!

are you talking of the link from the postbit PM button ?
(2012-02-26, 08:05 PM)iTzz_MaDnEsS Wrote: [ -> ]Yea, anything that links to
http://codmedia.net/private.php?action=send&uid=1

In that position it is impossible to have a thread or PM without a subject line so the pm will always have a subject .... so where else are you using that code .... ?
but if you always want the subject added to the pm edit postbit_pm template like this
<a href="private.php?action=send&amp;uid={$post['uid']}&subject={$post['subject']}&message=[quote]{$post['message']}[/quote]"><img src="{$theme['imglangdir']}/postbit_pm.gif" alt="{$lang->postbit_pm}" title="{$lang->postbit_pm}" /></a>
With .htaccess you can rewrite URL
Thats my problem, I need to know that coding xD
Redirect 301 /private.php?action=send&uid=1 http://codmedia.net/forms
Hm.. Does that "update" take a while? As its not doing anything?
(Yes, the files is names .htaccess)
Yea, that didn't seem to work.
Any ideas guys?
Pages: 1 2