Title: Loginout customization
Last modified: August 19, 2016

---

# Loginout customization

 *  [Chofas](https://wordpress.org/support/users/chofas/)
 * (@chofas)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/loginout-customization-1/)
 * Hi,
    Im trying to customize the loginout of my webpage.
 * What I want is for unlogged users to see “Ingresar” to login and be redirected
   to the page they were looking at.
    And for logged users to see “Salir” to logout
   and be redirected to the index page.
 * The thing is, I dont know how to add the redirection part to my code.
 * `<li><?php wp_loginout('Ingresar', 'Salir',); ?></li>`
 * I hope you guys can help me, thanks
 * Chofas

Viewing 1 replies (of 1 total)

 *  [Moodles](https://wordpress.org/support/users/moodles/)
 * (@moodles)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/loginout-customization-1/#post-1955385)
 * Try separating the two functions:
 * [http://codex.wordpress.org/Function_Reference/wp_login_url](http://codex.wordpress.org/Function_Reference/wp_login_url)
 * [http://codex.wordpress.org/Function_Reference/wp_logout_url](http://codex.wordpress.org/Function_Reference/wp_logout_url)
 * See the “Default Usage” section near the top.

Viewing 1 replies (of 1 total)

The topic ‘Loginout customization’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Moodles](https://wordpress.org/support/users/moodles/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/loginout-customization-1/#post-1955385)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
