Title: Remove redirect JS code.
Last modified: March 29, 2018

---

# Remove redirect JS code.

 *  Resolved [leo4all](https://wordpress.org/support/users/leo4all/)
 * (@leo4all)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/remove-redirect-js-code/)
 * Does its possible to remove the JS code. the page is displayed for a while then
   it gets redirected. ( Due the theme it may be too heavy and takes a while to 
   render the JS to work )
 * FILE: class-ur-shortcode-login.php
    LINE 51: `ur_get_template( 'myaccount/form-
   login.php', $atts );` LINE 56: /* remove this */ `window.location = "<php echo
   trim($redirect_url);?>"`
 * And added to it ( something like this )
 * FILE: form-login.php
    LINE 53: `<input type="hidden" name="redirect" value="<?
   = ($redirect_url) ? $redirect_url: get_permalink() ?>" />`
    -  This topic was modified 8 years, 1 month ago by [leo4all](https://wordpress.org/support/users/leo4all/).

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

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/remove-redirect-js-code/#post-10126408)
 * Hello [@leo4all](https://wordpress.org/support/users/leo4all/),
 * Thank you for reporting the case. We will see if we can add something you suggested.
 * Regards,
    WPEverest Support
 *  [polderme](https://wordpress.org/support/users/polderme/)
 * (@polderme)
 * [8 years ago](https://wordpress.org/support/topic/remove-redirect-js-code/#post-10231249)
 * Hello,
 * I face the same problem. This JS is conflicting. As a developer you should know
   better!!!
    I did report this issue earlier, but nothing seems to happen.
 * Please hurry up! I have to launch the site Friday next week.
 * I appreciate your help very much.
 * Thanks,
    Felix
    -  This reply was modified 8 years ago by [polderme](https://wordpress.org/support/users/polderme/).
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [8 years ago](https://wordpress.org/support/topic/remove-redirect-js-code/#post-10234451)
 * Hello [@polderme](https://wordpress.org/support/users/polderme/),
 * This issue has been fixed and will soon be available in next version. Please 
   stay updated!
 * Regards,
    WPEverest Support

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

The topic ‘Remove redirect JS code.’ is closed to new replies.

 * ![](https://ps.w.org/user-registration/assets/icon-256x256.gif?rev=3284028)
 * [User Registration & Membership - Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder](https://wordpress.org/plugins/user-registration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-registration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-registration/)
 * [Active Topics](https://wordpress.org/support/plugin/user-registration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-registration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-registration/reviews/)

## Tags

 * [delay](https://wordpress.org/support/topic-tag/delay/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 3 replies
 * 3 participants
 * Last reply from: [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/remove-redirect-js-code/#post-10234451)
 * Status: resolved