• Process of Illumination

    (@process_of_illumination)


    Hello,

    I am having issues with my site https://www.prestiticattivipagatori.it

    When I click on a link on the navigation menu I often go to a page containing only a broken image instead of normal content (screenshot here: https://www.prestiticattivipagatori.it/img/brokenimage.png). When I refresh the page (f5 on the browser) then the normal content/page would appear.

    At times another weird behavior occurs, when clicking on a menu link: the url in the browser’s address bar changes correctly, just as expected, but the content stays the same of the page I was before. Again, if i refresh, the correct content appears.

    Thank you for any help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    Do you have any caching plugins installed? If so, you might want to clear the cache and then deactivate the plugin.

    If not, check for other plugin issues (#1): https://docs.generatepress.com/article/debugging-tips/

    Thread Starter Process of Illumination

    (@process_of_illumination)

    Hi Tom and thank you for your answer.

    I Deleted the cache and the broken image error seems to be solved now.

    I still cant browse through the site, though: first time i click on a link it works, but afterwards the address in the browser’s navigation bar changes when the content stays the same.

    I activated the debugging too on wp_config and nothing seems to happen (no error logs appeared in /wp content/ or dashboard). I also activated the twenty seventeeen theme, and the error is still there.

    Do you have another suggestion by chance?

    Since the site is not that huge, for now, do you think i should delete everything from the server, reinstall wordpress and start all over again?

    Thank you very much!

    Thread Starter Process of Illumination

    (@process_of_illumination)

    Hi Tom,

    in my .htaccess file I had this piece of code

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType text/css “access 1 week”
    ExpiresByType text/html “access 1 week”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType text/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 1 month”
    </IfModule>

    that I use in every WP site that i own.

    Apparently this caused the problem with this site (I dont know why): since the moment i removed it everything seems to be fine. DO you think it is possible or am I only dreaming?

    Hope that can help other users too, in case!

    Bye,

    PoI

    Theme Author Tom

    (@edge22)

    Hmm, weird.. I’m no htaccess expert I’m afraid.

    Try removing just this line:

    ExpiresByType text/html "access 1 week"

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Menu links not working’ is closed to new replies.