i want to change wordpress post type permalink url for example i have create post type named qproduct and the url ishttpswwwcveoycomqproductbut i want to show item instead qproduct
To change the WordPress post type permalink URL from 'qproduct' to 'item', you can follow these steps:
- Go to your WordPress dashboard and navigate to 'Settings' -> 'Permalinks'.
- Scroll down to the 'Custom Structure' section and enter the following code: /%postname%/
- Click the 'Save Changes' button to update the permalink structure.
- Go to your 'qproduct' post type and edit each post by changing the slug from 'qproduct' to 'item'.
- Save the changes and the new permalink URL for each post will be https://www.cveoy.com/item/post-name.
Note: Changing the post type permalink URL may cause 404 errors for existing URLs, so make sure to set up proper redirects or update any internal links pointing to the old URL
原文地址: https://www.cveoy.top/t/topic/famz 著作权归作者所有。请勿转载和采集!