Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am displaying a list of employees using my custom plugin. My permalink structure is %category%%postname%/

My page navigation was like http://www.example.com/emp/?page=2, and was working fine until now. But now it rewrites url like http://www.example.com/emp/2/.

I have read Using Permalinks and tried the solution empty .htaccess file and generating it again, but still I am getting same http://www.example.com/emp/2/ URL.

I guess this problem occurs because I have updated wordpress from 3.3.2 to 3.4

Does anyone have any idea how resolve this?

share|improve this question
1  
please paster your loop in your question... need that to have a look –  Sagive SEO Jun 19 '12 at 7:01
add comment

2 Answers

I'm not clear which URL format you want! As you've set pretty URLs permalink, it will be something like /emp/category/page-title (if you've set %category%/%postname%) not like /emp/?page_id=PAGE_ID. Moreover, the permalink structure that you set is for post. The posts will be shown as /emp/category/postname but pages will be shown as /emp/pagename. it should not show url like /emp/2 unless page title is 2.

For detail investigation, please post the permalink structure that you've set in Settings->Permalink section in admin panel and contents of .htaccess that is in emp directory as it apparent that you've installed wordpress in emp directory.

share|improve this answer
add comment

I guess permalink structure should be

/%category%/%postname%/
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.