What do your category and post links look like at present?
Have you checked ‘permalink settings’ and confirmed that they are set to ‘Post Name’?
]]>In present, i have set custom structure like https://domain.com/wordpress_folder/blog/%postname%/ on permalink.
In this setting particular post link https://domain.com/wordpress_folder/blog/post_name working fine but category page not found.
]]>Sorry, its from localhost.
I have category like business and i want to show list of posts under this category by click the link looks like https://localhost/wordpress/blog/business.
and regarding posts show the post details by click this link looks like
https://localhost/wordpress/blog/samplepost/
If you want to completely remove category base, then then the ‘Permalink’ settings page will not serve the purpose. In that case, you will have to resort to rewriting the url or you could use plugins like this or this one
If you want to do it without using a plugin, then see this Stackoverflow answer for some tricks
]]>but i can’t find my solution for both single post and category.
]]>Brother you need to provide some more information. Simply saying that ‘I cant find my solution’ does not convey much about what problem you are facing or why the suggested plugins/solutions did not work for you
Please provide the following information:
1. The screenshot of your permlink settings
2. The screenshot of your single post edit screen. Post the url of an actual single post from your blog
3. What happens when you click on that permalink.
Here is my permalink’s screenshot.
here is the category url https://localhost/convergehubsitewp/blog/crm/ it’s working fine
Here is the single post url https://localhost/convergehubsitewp/blog/crm/sample-crm-post-1/ — i want to https://localhost/convergehubsitewp/blog/sample-crm-post-1/
I have activated this plugin Link
]]>i want to https://localhost/convergehubsitewp/blog/sample-crm-post-1/
For that you need to remove %category%
from your custom permalink structure.
Instead of keeping the structure as /blog/%category%/%postname%/
you should make it as /blog/%postname%/