Title: Remove Slug Custom post type error!
Last modified: September 1, 2016

---

# Remove Slug Custom post type error!

 *  [trhaihung](https://wordpress.org/support/users/trhaihung/)
 * (@trhaihung)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/remove-slug-custom-post-type-error-1/)
 * Help me? add product woocommerce?
 *     ```
       Remove Slug Custom post type error!
       .htaccess is not writable, please add following lines to complete your installation:
       RewriteRule ^san-pham/(.+)$ /$1 [R=301,L]
       RewriteRule ^product_variation/(.+)$ /$1 [R=301,L]
       RewriteRule ^/(.+)$ /$1 [R=301,L]
       RewriteRule ^shop_order_refund/(.+)$ /$1 [R=301,L]
       RewriteRule ^/(.+)$ /$1 [R=301,L]
       RewriteRule ^/(.+)$ /$1 [R=301,L]
       RewriteRule ^/(.+)$ /$1 [R=301,L]
       RewriteRule ^vc_grid_item/(.+)$ /$1 [R=301,L]
       RewriteRule ^partner/(.+)$ /$1 [R=301,L]
       RewriteRule ^testimonial/(.+)$ /$1 [R=301,L]
       RewriteRule ^team/(.+)$ /$1 [R=301,L]
       RewriteRule ^mc4wp-form/(.+)$ /$1 [R=301,L]
       ```
   
 * [https://wordpress.org/plugins/remove-slug-from-custom-post-type/](https://wordpress.org/plugins/remove-slug-from-custom-post-type/)

The topic ‘Remove Slug Custom post type error!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/remove-slug-from-custom-post-type.
   svg)
 * [Remove slug from custom post type](https://wordpress.org/plugins/remove-slug-from-custom-post-type/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/remove-slug-from-custom-post-type/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/remove-slug-from-custom-post-type/)
 * [Active Topics](https://wordpress.org/support/plugin/remove-slug-from-custom-post-type/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/remove-slug-from-custom-post-type/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/remove-slug-from-custom-post-type/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [trhaihung](https://wordpress.org/support/users/trhaihung/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/remove-slug-custom-post-type-error-1/)
 * Status: not resolved