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'd like to know if there's a way to know which page or file (index.php, page.php, category.php) WordPress is expecting when displaying a page.

I get a 404 error on a www.myblog.com/page/2, meaning WP can't find the page. Just don't know which it's expecting.

share|improve this question

1 Answer 1

It is expecting index.php page with paged page 2. You can find more information from here Template_Hierarchy.

You will have to handle pagination to solve your problem.

share|improve this answer
    
Vinod, try to link to the documentation, Template_Hierarchy, when providing answers ( How to Answer ). Also, you don't explain the 404 error. As it is, your Answer is going to show up in the Low Quality Posts review. –  brasofilo Feb 28 '13 at 7:32
    
ok so I have this page, obviously, so why can't it find it? –  Got The Fever Media Feb 28 '13 at 8:47
    
I do have a pagination plugin "Simple Pagination" it works fine for categories and other page. Just bugs on the home page. On page other than 1 (the hoomepage) it gives me a 404 –  Got The Fever Media Feb 28 '13 at 11:00

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.