caffine72
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Redirect WP login/register links to external URLJust for posterity and anyone else looking for info on how to make this change:
In header.php located in your template folder
edit the $login_link URL to point to your /phpBB3/ucp.php?mode=login
edit the $register_link URL to point to your /phpBB3/ucp.php?mode=register
then if you want to use the phpBB3 user control panel for any changes; further down the code
edit the $user_link URL to point to your /phpBB3/ucp.phpNote that if you decide to change your template then the same changes will need to be made to the new header.php (unless you are using child themes)
Forum: Fixing WordPress
In reply to: Redirect WP login/register links to external URLYup this was what I was looking for. Hopefully I am not causing deeper problems by hacking this code so ungracefully but backups have been made just in case…
Forum: Fixing WordPress
In reply to: Redirect WP login/register links to external URLOk, after digging around I think I have found these code links within my header.php
if($version[0] >= 2.7){ // use wp_login_url as it provides redirect helper $login_link = '<a href="'.wp_login_url().'redirect_to='.$redirect_to.'">'.__('login').'</a>'; $register_link = '<a href="'.site_url('wp-login.php?action=register', 'login').'">'.__('register').'</a>';Now before I go and start changing the links to my phpBB3 login/register pages could someone with a bit of coding experience let me know if I am on the right track before I mess up my install?