Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i displaying list of employees using my custom plugin, i have set permalink structure like %category%%postname%/ So my page navigation was like http://www.abc.com/emp/?page=2, untill now it was working fine but now it rewrites url like http://www.abc.com/emp/2/.

i have read http://codex.wordpress.org/Using_Permalinks and try the solution empty .htaccess file and generating it again. but still i am getting same http://www.abc.com/emp/2/ url

as per my guess this problem occurs because i have updated wordpress from 3.3.2 to 3.4 do 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

1 Answer

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

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.