Title: after update register button
Last modified: July 29, 2018

---

# after update register button

 *  Resolved [mohaelattar](https://wordpress.org/support/users/mohaelattar/)
 * (@mohaelattar)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/after-update-register-button/)
 * after i update plugin you add register button but when i click on it redirect
   to 404 error page , how i custom url register button or can i activate register
   page u name ( tickets/userregister)

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

 *  [furuba](https://wordpress.org/support/users/furuba/)
 * (@furuba)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/after-update-register-button/#post-10539664)
 * I have the same problem. I join you here.
 *  Plugin Author [JoomSky](https://wordpress.org/support/users/rabilal/)
 * (@rabilal)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/after-update-register-button/#post-10539717)
 * Hi,
 * Edit ../wp-content/plugins/js-support-ticket/includes/paramregister.php
 * Find at line number 23
 * `$_key = $newkey . '/(my-tickets|add-ticket|'.$login.'|ticket-status|control-
   panel|print-ticket|ticket)(/[^/]*)?(/[^/]*)?(/[^/]*)?/?$';`
 * Replace with
 *     ```
                   $userregister = ($changename === true) ? 'ticket-user-register' : 'userregister';
                   $_key = $newkey . '/(my-tickets|add-ticket|'.$login.'|ticket-status|control-panel|print-ticket|ticket|'.$userregister.')(/[^/]*)?(/[^/]*)?(/[^/]*)?/?$';
       ```
   
 * Find on line number 63
    `$rules['(st-my-tickets|st-add-ticket|'.$login.'|st-ticket-
   status|st-control-panel|st-print-ticket|st-ticket)(/[^/]*)?(/[^/]*)?(/[^/]*)?/?
   $'] = 'index.php?page_id='.$pageid.'&jsstlayout=$matches[1]&jst1=$matches[2]&
   jst2=$matches[3]&jst3=$matches[4]';`
 * Replace with
 *     ```
             $userregister = ($changename === true) ? 'ticket-user-register' : 'st-userregister';
             $rules['(st-my-tickets|st-add-ticket|'.$login.'|st-ticket-status|st-control-panel|st-print-ticket|st-ticket|'.$userregister.')(/[^/]*)?(/[^/]*)?(/[^/]*)?/?$'] = 'index.php?page_id='.$pageid.'&jsstlayout=$matches[1]&jst1=$matches[2]&jst2=$matches[3]&jst3=$matches[4]';
       ```
   
 * Find on line number 125
 *     ```
                   case 'my-tickets':
                       jssupportticket::$_data['sanitized_args']['jstmod'] = 'ticket';
                       jssupportticket::$_data['sanitized_args']['jstlay'] = 'myticket';
                   break;
       ```
   
 * Replace with
 *     ```
                   case 'my-tickets':
                       jssupportticket::$_data['sanitized_args']['jstmod'] = 'ticket';
                       jssupportticket::$_data['sanitized_args']['jstlay'] = 'myticket';
                   break;
                   case 'ticket-user-register':
                   case 'userregister':
                       jssupportticket::$_data['sanitized_args']['jstmod'] = 'jssupportticket';
                       jssupportticket::$_data['sanitized_args']['jstlay'] = 'userregister';
                   break;
       ```
   
 * After edit, refresh permalinks.
    WP Admin > Settings > click on Permalinks and
   save without any changes.
    -  This reply was modified 7 years, 11 months ago by [JoomSky](https://wordpress.org/support/users/rabilal/).

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

The topic ‘after update register button’ is closed to new replies.

 * ![](https://ps.w.org/js-support-ticket/assets/icon-256x256.png?rev=3583992)
 * [JS Help Desk – AI-Powered Support & Ticketing System](https://wordpress.org/plugins/js-support-ticket/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/js-support-ticket/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/js-support-ticket/)
 * [Active Topics](https://wordpress.org/support/plugin/js-support-ticket/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/js-support-ticket/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/js-support-ticket/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [JoomSky](https://wordpress.org/support/users/rabilal/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/after-update-register-button/#post-10539717)
 * Status: resolved