• hi everyone,
    i have been looking around to find an easy way to modify the actual links to the register/login without much success (not the look of it not the url-redirect).

    i’ve got a WP3.0.1 multisite with buddypress installed. i also have a registration system outside wordpress (but the login process is *not* changed, i.e. the external system is basically replicating the data in WP in the background)

    what i have done was changing the links in the core (i.e. in the wp-login.php i manually changed the links). the problem is that whenever i upgrade the changes are lost. i was looking at custom functions in the theme to achieve this but didn’t get very far… does anyone have any suggestions?

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, as you have told that you made changes in the file wp-login.php, you are loosing the changes whenever you upgrade.

    The solution is that you can create a copy of the login.php file and paste it in a different folder. Link the login and register to the new file which you have copied and pasted in different folder.

    The changes you have made are lost while you upgrade WordPress because, all the defualt login, register pages are located in the folder called admin. So, whenever you upgrade WP the folder replaces with new files with defualt settings like WordPress defualt login backgrounds, etc.

    Thread Starter lorenzo

    (@psycolor)

    yes i figured this, but my question is whether there is any way of overriding the default links in the login page using custom functions?

    as you say i could register a different login page, but the same applies to the login in the sidebar and, in my case, to the admin bar at the top for buddypress.

    all could be changed individually (what i did), BUT they all use the same WP call to wp_login_url();

    if i override where this goes, then all will work fine! (or that’s the theory if i knew how…)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘function to change register/login links?’ is closed to new replies.