简体   繁体   中英

Updating header.php in wordpress doesn't update on blog

I have a header.php file in the Theme editor. The theme is Excellence.

Now, I need to change the header logos href to point to example.com and not example.com/blog/ for which I've done the following:

<h1>
    <a href="http://example.com/">
        <img src="http://example.com/blog/wp-content/themes/excellence/images/logo.png"/>
    </a>
</h1>

My computers Chrome, where the changes were made, reflects this perfectly. However, all other devices and my Incognito window, still redirect to example.com/blog . How do I fix this?

Your problem can be caused by two reasons.

  1. Due to the browser caching. This can be solved by clearing the browser cache.
  2. Due to the cache plugin. This can be solved by clearing the plugin cache.

one of the above options will solve your problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM