WordPress.org

Ready to get started?Download WordPress

Forums

Page 2 is causing 404 error (8 posts)

  1. BumpToThis.com
    Member
    Posted 2 years ago #

    Hey guys! :)

    I am having a small issue with my wordpress music blog. Ok, its not really that small, its actually crippling my site because users can't get to any page other than the first page. When you click to go to page 2, it redirects to a 404 page. The url changes as well.

    This is my .htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    I have confirmed mod_rewrite to be enabled. My permalinks settings are:

    Custom Post Structure: /%postname%/

    I have tried other permalink structures as well, and the only one that works is the default permalink structure /?p=123

    Any help would be much appreciated! If you need any more info just let me know! Thank you in advance.

    Regards,
    Joe

  2. keesiemeijer
    moderator
    Posted 2 years ago #

    The .htaccess seems ok: https://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems.

    - flushing any caching plugins you might be running, as well as server and/or browser caches.

  3. BumpToThis.com
    Member
    Posted 2 years ago #

    Kessiemeijer, thanks for the prompt reply. Much appreciated.

    I went ahead and disabled all plugins, and the issue was not apparent anymore. I started enabling the plugins 1 by 1, until I encountered the problem again. It seems like Jetpack was causing the issue...

    For the meantime, I have it disabled, but has anyone had any issues with this plugin pack? It's definitely useful to me (I use the stats module several times a day), and would like to be able to use it.

  4. keesiemeijer
    moderator
    Posted 2 years ago #

    It's also possible that Jetpack is in conflict with another plugin or your theme.
    Try disabling all other plugins but Jetpack. And see if you still have the same problem.

    and also try:
    - re-saving your current permalink structure at Settings > Permalinks in your admin panel.

  5. BumpToThis.com
    Member
    Posted 2 years ago #

    I dissabled all plugins except for Jetpack, and the problem still persists.

    I also re-saved the permalink settings, and the issue is still present.

    I think it is safe to say that Jetpack is causing some issue, or my theme is conflicting with jetpack.

    BTW, the way my page is setup is that i have a page called "Latest", and on that page, I show the blog posts,expert, and pagination through the shortcode. I then have the page "Latest" set as the homepage in settings. (idk if this is all even relevant)

  6. keesiemeijer
    moderator
    Posted 2 years ago #

    So, you have a static home page?
    https://codex.wordpress.org/Creating_a_Static_Front_Page

    and pagination through the shortcode.

    What is the shortcode? wp-pagenavi?

  7. BumpToThis.com
    Member
    Posted 2 years ago #

    Yes, static page. Thats it. I have it set to my page "Latest". Then I have the following shortode set in the page

    [blog cats="1,35" images="false" per_page="5" pagination="true" meta="true" preload="true" title="true" full_content="true" /]

    I am not sure what kind of pagination it is. (part of theme?)

  8. keesiemeijer
    moderator
    Posted 2 years ago #

    I think your theme uses the wp-pagenavi plugin for pagination. Since this is a commercial theme with its own functionality and support system, I recommend you contact the theme developer for assistance on this issue: http://www.ghostpool.com/support/

Topic Closed

This topic has been closed to new replies.

About this Topic