• perezkoh

    (@perezkoh)


    Hi Team,
    We have encountered an issue for the website. We are unable to load the innerpages we can see the url changing but not the contents. Could you please advise to resolve the issue.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mateo

    (@mateico)

    Hey @perezkoh, I’m here to help you.

    The issue you described, where the URL changes but the content doesn’t load, often relates to problems with website routing, AJAX handling, or JavaScript. This issue is common in single-page applications (SPAs) or sites that use AJAX for navigation.

    Let’s diagnose and resolve the issue step by step:

    Check for JavaScript Errors:
    Open the browser’s developer tools (usually by pressing F12 or right-clicking and selecting “Inspect”).
    Go to the “Console” tab to check for any JavaScript errors.
    Address any errors that appear.

    Verify AJAX Calls:
    Go to the “Network” tab in the developer tools.
    Click on the link that should load the new content and observe if any network requests are made.
    Ensure that the requests return a successful status code (usually 200).

    Inspect the JavaScript Code:
    If you’re using custom JavaScript for handling AJAX requests or page transitions, ensure that the code correctly fetches and displays the content.
    Verify that the AJAX call’s success callback injects the fetched content into the DOM.

    Check WordPress Permalinks:
    Go to Settings > Permalinks in your WordPress dashboard.
    Sometimes re-saving the permalinks settings can resolve routing issues.

    Check for Conflicts:
    Temporarily disable all plugins and switch to a default theme (e.g., Twenty Twenty-One).
    Check if the issue persists.
    If resolved, enable plugins one by one and switch back to your original theme to identify the conflicting component.

    If this solves your problem, it would be advisable to mark this thread as ‘Resolved’.

    Best regards,
    Mateo

    • This reply was modified 4 weeks ago by Mateo.
    Thread Starter perezkoh

    (@perezkoh)

    Hi Team,

    We have followed the steps provided, but we are still experiencing an issue where only the homepage is loading, and the inner pages are not. Could you please advise on how to resolve this?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.