Welcome to the IMTalk - Internet Marketing & SEO Forum.
  • Login:
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    salman's Avatar
    salman is offline IM & SEO Small Talker salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough
    Join Date
    Jun 2012
    Location
    Hyderabad
    Posts
    967
    Thanks Given
    102
    Thanked 270 Times in 236 Posts

    Getting a 404 error on Page 2

    This is something strange I observe:

    itc.jpg

    Am using generate theme on genesis framework for my tech blog and when I modify the home.php file to show only 4 posts per page, I am getting a 404 error when I try to visit page 2.

    This is something very strange to me!

    Please help me out !

    Thanks

  2. #2
    proseocontent's Avatar
    proseocontent is offline IM & SEO Small Talker proseocontent has a spectacular aura about proseocontent has a spectacular aura about proseocontent has a spectacular aura about
    Join Date
    May 2011
    Location
    germany
    Posts
    903
    Thanks Given
    48
    Thanked 222 Times in 173 Posts
    Did you solve the problem? Its working for me

  3. #3
    salman's Avatar
    salman is offline IM & SEO Small Talker salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough
    Join Date
    Jun 2012
    Location
    Hyderabad
    Posts
    967
    Thanks Given
    102
    Thanked 270 Times in 236 Posts
    Quote Originally Posted by proseocontent View Post
    Did you solve the problem? Its working for me
    I reverted back to display 6 posts on the homepage...that is why I guess you're not getting any 404 error! Anyways I've now again set the no. of posts to display as 4, you can now click the "next page" link and see

  4. #4
    joel.gasket's Avatar
    joel.gasket is offline IM & SEO Small Talker joel.gasket has a spectacular aura about joel.gasket has a spectacular aura about
    Join Date
    Jan 2012
    Location
    Skype: seo.buzz
    Posts
    805
    Thanks Given
    59
    Thanked 162 Times in 120 Posts
    Yes its quite a strange problem as I am seeing it. Anyway I am quite sure it is minor problem.
    Rank on Google ** Buy PBN Backlinks **[Low OBL |Premium Quality]

  5. #5
    salman's Avatar
    salman is offline IM & SEO Small Talker salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough
    Join Date
    Jun 2012
    Location
    Hyderabad
    Posts
    967
    Thanks Given
    102
    Thanked 270 Times in 236 Posts
    Quote Originally Posted by joel.gasket View Post
    Yes its quite a strange problem as I am seeing it. Anyway I am quite sure it is minor problem.
    Any solution bro ... BTW I am reverting back to display 6 posts!

  6. #6
    Minicon is offline IM & SEO Mumbler Minicon will become famous soon enough
    Join Date
    Sep 2011
    Location
    space
    Posts
    392
    Thanks Given
    21
    Thanked 67 Times in 55 Posts
    May be you're having a conflict with default htaccess and theme might have created some htaccess, try setting 4 posts to be displayed in wordpress settings and try. I am not sure if it will work, but give a try!

  7. #7
    salman's Avatar
    salman is offline IM & SEO Small Talker salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough
    Join Date
    Jun 2012
    Location
    Hyderabad
    Posts
    967
    Thanks Given
    102
    Thanked 270 Times in 236 Posts
    Quote Originally Posted by Minicon View Post
    May be you're having a conflict with default htaccess and theme might have created some htaccess, try setting 4 posts to be displayed in wordpress settings and try. I am not sure if it will work, but give a try!
    Tried that but nothing happened .... The no. of posts set in the home.php file overrides all wordpress settings.

  8. #8
    proseocontent's Avatar
    proseocontent is offline IM & SEO Small Talker proseocontent has a spectacular aura about proseocontent has a spectacular aura about proseocontent has a spectacular aura about
    Join Date
    May 2011
    Location
    germany
    Posts
    903
    Thanks Given
    48
    Thanked 222 Times in 173 Posts
    Please post your index.php here.

  9. #9
    salman's Avatar
    salman is offline IM & SEO Small Talker salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough
    Join Date
    Jun 2012
    Location
    Hyderabad
    Posts
    967
    Thanks Given
    102
    Thanked 270 Times in 236 Posts
    No index.php as I am editing a child theme ...

    I am posting the grid loop here

    genesis_grid_loop( array(
    'features' => 4,
    'feature_image_size' => 'itechpost',
    'feature_image_class' => 'alignleft itechpost',
    'feature_content_limit' => 200,
    'grid_image_size' => 'grid',
    'grid_image_class' => 'alignleft itechpost',
    'grid_content_limit' => 0,
    'more' => __( 'Continue reading...', 'genesis' ),
    'posts_per_page' => 6,

    Whenever I change the 'posts_per_page' => 4, I get a 404 error on the second page..Let me know if you need anything else!

  10. #10
    proseocontent's Avatar
    proseocontent is offline IM & SEO Small Talker proseocontent has a spectacular aura about proseocontent has a spectacular aura about proseocontent has a spectacular aura about
    Join Date
    May 2011
    Location
    germany
    Posts
    903
    Thanks Given
    48
    Thanked 222 Times in 173 Posts
    If your theme's index.php page has a call for a max number of posts, it has to match your WordPress settings under Reading for "Blog pages show at most".

    You have to change the setting first, then change the template.

  11. The Following User Says Thank You to proseocontent For This Useful Post:


  12. #11
    salman's Avatar
    salman is offline IM & SEO Small Talker salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough
    Join Date
    Jun 2012
    Location
    Hyderabad
    Posts
    967
    Thanks Given
    102
    Thanked 270 Times in 236 Posts
    Its working that way dude.... Thnx a ton!

  13. The Following User Says Thank You to salman For This Useful Post:


  14. #12
    Minicon is offline IM & SEO Mumbler Minicon will become famous soon enough
    Join Date
    Sep 2011
    Location
    space
    Posts
    392
    Thanks Given
    21
    Thanked 67 Times in 55 Posts
    Quote Originally Posted by salman View Post
    Its working that way dude.... Thnx a ton!
    nice, i think i said the same too but different way :P

  15. The Following User Says Thank You to Minicon For This Useful Post:


  16. #13
    salman's Avatar
    salman is offline IM & SEO Small Talker salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough salman is a jewel in the rough
    Join Date
    Jun 2012
    Location
    Hyderabad
    Posts
    967
    Thanks Given
    102
    Thanked 270 Times in 236 Posts
    Quote Originally Posted by Minicon View Post
    nice, i think i said the same too but different way :P
    Well, in that case, thanks to you too!


 

Similar Threads

  1. What is canonical error??..
    By AuroINSEO in forum General SEO Talk
    Replies: 7
    Last Post: 09-28-2018, 07:33 AM
  2. What is 404 error and how I fix it?
    By AuroINSEO in forum General SEO Talk
    Replies: 11
    Last Post: 06-13-2012, 08:25 AM
  3. Google Position Error
    By hdhsiuo in forum Google
    Replies: 4
    Last Post: 07-06-2011, 08:14 PM
  4. Spelling error
    By tritrain in forum Suggestions, Feedback & Questions
    Replies: 4
    Last Post: 05-06-2011, 07:08 PM
  5. Yahoo Error
    By JustGoWithIt in forum Other Search Engines
    Replies: 0
    Last Post: 05-03-2011, 11:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts