My theme uses the following code:
'rewrite' => array('slug' => $this->safe_name . '-detail'),
which produces this slug:
http://www.example.com/estate-detail/4-bedroom-property-for-sale/
I need to get rid of the 'estate-detail' part so I changed the rule to just:
'rewrite' => array('slug' => ' '),
This produces the slug as:
http://www.example.com//4-bedroom-property-for-sale/
How do I get rid of the double forward slash?