Topic: Change log in / log out redirect ?
Hi
When a user logs in to my forum or logs out I want them to be redirected to my sites homepage
for example - /index.php not /forums/index.php
Can anyone help with changing the redirects?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 troubleshooting → Change log in / log out redirect ?
Hi
When a user logs in to my forum or logs out I want them to be redirected to my sites homepage
for example - /index.php not /forums/index.php
Can anyone help with changing the redirects?
The login redirect url can be changed at the line 359 of login.php.
The logout redirect URL can be changed at the line 165.
I'm having trouble editing this array
redirect(forum_link($forum_url['index']), $lang_login['Logout redirect']);
If I wanted that to basically go back a directory to /index.php how should I change it?
many thanks for your kind help
Seems like
redirect('http://example.com/index.php', $lang_login['Logout redirect']);
Seems like
redirect('http://example.com/index.php', $lang_login['Logout redirect']);
thank you so much worked perfect!
PunBB Forums → PunBB 1.3 troubleshooting → Change log in / log out redirect ?
Powered by PunBB, supported by Informer Technologies, Inc.