• 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.