Title: Reset rewrite rule
Last modified: August 22, 2016

---

# Reset rewrite rule

 *  [ivansieder](https://wordpress.org/support/users/ivansieder/)
 * (@ivansieder)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/reset-rewrite-rule/)
 * Hi, I have the following issue: In a theme I use, there’s a rewrite rule defined
   the following way:
 *     ```
       $args = array(
           'labels' => $labels,
           'public' => true,
           'exclude_from_search' => false,
           'publicly_queryable' => true,
           'show_ui' => true,
           'query_var' => true,
           'capability_type' => 'post',
           'hierarchical' => false,
           'menu_position' => 5,
           'supports' => array('title','editor','thumbnail'),
           'rewrite' => array( 'slug' => __('service', 'framework') )
       );
       ```
   
 * The problem I have is the following: The pages which i can define under “Services”
   Look completely crapy, so i wanted to modify them. I can just comment out that‘
   rewrite’ => array….. line, but with an update this will be reset again.
 * Is there any way i can change that rewrite rule back to it’s defaults or make
   it non-existing?
 * Any help is appreciated…
 * Kind regards
 * Ivan Sieder

The topic ‘Reset rewrite rule’ is closed to new replies.

## Tags

 * [rewrite rules](https://wordpress.org/support/topic-tag/rewrite-rules/)
 * [rules](https://wordpress.org/support/topic-tag/rules/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ivansieder](https://wordpress.org/support/users/ivansieder/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/reset-rewrite-rule/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
