Title: Problem with shortcode
Last modified: February 8, 2023

---

# Problem with shortcode

 *  Resolved [creapwp79](https://wordpress.org/support/users/creapwp79/)
 * (@creapwp79)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/problem-with-shortcode-24/)
 * Hello, first congratulations for your plugin it is very practical. However I 
   notice a problem with the shortcodes. When you use the value login_url=”[https://mysiteweb.com&#8221](https://mysiteweb.com&#8221);
   to customize the redirection link, the redirection does not take place, it sends
   me to the page …/wp-login.php. It’s weird isn’t it?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Abdul Wahab](https://wordpress.org/support/users/abdulwahab610/)
 * (@abdulwahab610)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/problem-with-shortcode-24/#post-16469125)
 * Hey, [@creapwp79](https://wordpress.org/support/users/creapwp79/)
 * Thank you for writing us and liking the plugin. Can you please let me know which
   specific shortcode are you using? Here’s a complete guide written over the Login
   Logout Menu Shortcodes. [https://loginpress.pro/doc/login-logout-menu-shortcodes-guide/](https://loginpress.pro/doc/login-logout-menu-shortcodes-guide/)
 * Looking forward.
 *  Thread Starter [creapwp79](https://wordpress.org/support/users/creapwp79/)
 * (@creapwp79)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/problem-with-shortcode-24/#post-16471297)
 * Hello thank you for your feedback. 
   I used the following shortcode :[login_logout_menu__login_link
   login_url=”[https://www.fnac.com/&#8221](https://www.fnac.com/&#8221); login_text
   =”Connect”] but when I specify a link to redirect to a page, it always redirects
   me to the page wp-login.php. Here is the link he created for the redirection :
   [http://www.mysiteweb.fr/wp-login.php](http://www.mysiteweb.fr/wp-login.php) 
   redirect_to=https%3A%2F%2Fwww.fnac.comYet I read the complete guide, I followed
   the instructions but it doesn’t work
 * Best regards
 *  Thread Starter [creapwp79](https://wordpress.org/support/users/creapwp79/)
 * (@creapwp79)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/problem-with-shortcode-24/#post-16481173)
 * Hello, is there a solution to this problem? Because the redirect does not work.
 * Best regard
 *  Plugin Contributor [Abdul Wahab](https://wordpress.org/support/users/abdulwahab610/)
 * (@abdulwahab610)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-with-shortcode-24/#post-16516483)
 * Hey, [@creapwp79](https://wordpress.org/support/users/creapwp79/)
 * Sorry for the responding late.
 * Yes, you are right here. Right now the shortcode forces the user to land on the
   WordPress default login page with a redirect parameter i.e: _/wp-login.php_ However,
   it’d be changeable w.r.t the given value.
 * For example: If you use **[login_logout_menu__login_link login_url=”[https://yoursite.com/my-account/&#8221](https://yoursite.com/my-account/&#8221);
   login_text=”Connect”]** It’d go on the _[https://yoursite.com/my-account/](https://yoursite.com/my-account/)_
   instead of _[https://yoursite.com/wp-login.php?redirect\_to=%2Fmy-account%2F](https://yoursite.com/wp-login.php?redirect_to=%2Fmy-account%2F)_
   Am I right?
 * Looking forward.
 *  Thread Starter [creapwp79](https://wordpress.org/support/users/creapwp79/)
 * (@creapwp79)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/problem-with-shortcode-24/#post-16519518)
 * Hello and thank you for your feedback.
   Yes that’s exactly it.I would like when
   you click on the Login link, it sends to the /my-account/ page (for the client
   to connect). Currently it sends to /wp-login/.
 * Best regards

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with shortcode’ is closed to new replies.

 * ![](https://ps.w.org/login-logout-menu/assets/icon-256x256.png?rev=2746407)
 * [Login Logout Menu](https://wordpress.org/plugins/login-logout-menu/)
 * [Support Threads](https://wordpress.org/support/plugin/login-logout-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/login-logout-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/login-logout-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/login-logout-menu/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [creapwp79](https://wordpress.org/support/users/creapwp79/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/problem-with-shortcode-24/#post-16519518)
 * Status: resolved