Search code examples
wordpressperformanceloadperformance-testing

Why is the browser trying to load a /none page (with Wordpress)?


I'm building a Wordpress theme and one of the things I noticed is that the browser requests a page /none (example.com/none). I see this in the Network part of the inspector:

Browser loading page /none

(This is Chrome). As you can see, the browser spends 676 ms loading it and during that time it almost doesn't do/load anything else.

In a theme check (with a WP plugin) I also encountered the absence of /none as an error.

Is this usual browser behaviour for every website or is this pure Wordpress? And what should I do to fix it (be it WP or browser behaviour)?

Thanks a lot in advance!


Solution

  • This should be related to your theme files. You can have a look at the wordpress template hierarchy to find out all parts of your theme. https://developer.wordpress.org/themes/basics/template-hierarchy/

    Deactivate your theme and use a standard theme. Deactivate all plugins. This way you can make sure that it has nothing to do with your wordpress installation or plugins, but is an issue caused by your theme.

    The inspector of your browser might give you the right hints where you can start your search.