Title: Shortcode attributes don&#8217;t work
Last modified: March 7, 2024

---

# Shortcode attributes don’t work

 *  Resolved [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/shortcode-attributes-dont-work-2/)
 * Hi,
 * I’m using shortcode attributes on my custom login/logout page to redirect upon
   login and logout. But they’re not working.
 * Upon login I’m redirected to dashboard and upon logout I’m redirected to default
   login form. This is default WP behavior.
 *     ```wp-block-code
       [wppb-login redirect_url="my-url/page" logout_redirect_url="my-url"]
       ```
   
 * Are the attributes part of PRO perhaps?
 * Guido

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

 *  Plugin Support [alexandrubodea](https://wordpress.org/support/users/alexandrubodea/)
 * (@alexandrubodea)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/shortcode-attributes-dont-work-2/#post-17484783)
 * Hi [@guido07111975](https://wordpress.org/support/users/guido07111975/),
 * These attributes are also available in the Free version of the plugin. I’ve also
   tested this on my WP Instance and in my case both redirects worked correctly.
   To check why you encounter this issue:
 * 1.​ Could you please go to your site’s Dashboard -> Plugins -> Installed Plugins-
   > and send a full screenshot with everything you have installed related to Profile
   Builder (make sure the plugin **version **can be seen)?
 * 2. Could you please go to your site’s Dashboard -> Pages -> click on the page
   where you have the Login form -> and from there please send a screenshot with
   exactly how the PB login shortcode is added to the page?
 * You can use a site like [https://snipboard.io/](https://snipboard.io/) to share
   the screenshots.
 * Best regards,
 *  Thread Starter [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/shortcode-attributes-dont-work-2/#post-17486952)
 * Hi,
 * I have found it myself, my domain has the prefix www and I forgot to add this
   prefix in the redirect_url and the logout_redirect_url. Apparently it does not
   work without it.
 * Guido

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

The topic ‘Shortcode attributes don’t work’ is closed to new replies.

 * ![](https://ps.w.org/profile-builder/assets/icon-256x256.png?rev=2961144)
 * [User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor](https://wordpress.org/plugins/profile-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profile-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profile-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/profile-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profile-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profile-builder/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Guido](https://wordpress.org/support/users/guido07111975/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/shortcode-attributes-dont-work-2/#post-17486952)
 * Status: resolved