Any Wordpress user can solve this problem? Please

anil2006

Power Member
Joined
Mar 12, 2009
Messages
752
Reaction score
261
I have a wordpress blog which has categories and subcategories. I have set permalinks to /%postname%/ .
When ever i click on any category, i get page url in this format:
hxxp://domain_name.com/category/category_name/

and when i click on subcategory i get:
hxxp://domain_name.com/category/category_name/subcategory_name/

I want to show both above in this format:
hxxp://domain_name.com/category_name-articles

So problem is how to do it? is there any plugin for this ? Or what changes in codes required?

Thanks for you time.
 
Last edited:
I'm not sure because I have never used thaT SETUP BUT i USE /%category%/%postname%/ to give me domain.com/mycat/article. maybe /%category%-%postname%/ will work. let me know
 
I think it could solve using .htaccess file but sorry i am not familiar with.
 
it seems you did not read thread carefully.
 
it seems you did not read thread carefully.

Hehe, come here codex*wordpress*org/Using_Permalinks
you will know if i read your thread carefully and might get the idea to solve your problem.
 
Do not put the / in front when you enter your nice permalink. The Wordpress system will automatically add a / in front. You can enter this:

%category%-%postname%

This should work just fine.

Unless you have some kind of SEO plugin that interfered with the setting. Then, you should check the setting of that plugin. One I could think of is All-In-One-SEO plugin.

Hope it helps:)
 
There's a plugin out there which does exactly what you need! go find out on wordpress.org/extend
 
Back
Top