kurtaran — 2010-08-19T19:22:27-04:00 — #1
i have a problem about permalinks in wordpress;
For example i have 2 category (cat1 and cat2).
And there is two posts (post1 and post2).
post1 is in categroy cat1 and post2 is in categroy cat2.
In permalink Settings i'm using Custom Structure like this:
So, url of post1 is "http://mysite.com/cat1/post1/" and again url of post2 "http://mysite.com/cat2/post2/"
Now i wanna do something like this;
when i wanna call a post in cat1 its url , its url: "http://mysite.com/cat1/post1/" but when a post in cat2 i want its url to be like this: "http://mysite.com/[B]something[/B]/cat1/post1/"
So i wanna write different rewrite rules for different categories, something like that.
How can i write a permalink code for wordpress.
Or do i have to edit .htaccess file. if so what kind of codes can i write in my .htaccess file.
please help me!
billyparadise — 2010-08-24T13:18:25-04:00 — #2
Eeek. That's an interesting one. I'm sorry, I don't have a solution for you, but I suggest you ask on the WP forums - that's where the WP gurus hang out.
On a side note, WHY?? If you have old links you want to preserve, it might be easiest to go with wordpress' /category/post style (thats the one I use too), and use 301 redirects.