Home / SEO / How to Add Expires Headers in WordPress

How to Add Expires Headers in WordPress

@ Instructions: This file is in a format called “markdown”. You can 1-click nicely format it here: https://alldocs.app/convert-multi-markdown-to-word-docx

@ Main model used: gpt-3.5-turbo. Estimate of about $0.06140 spent on about 1,334 words.

@ OpenAI Status: The OpenAI servers appear 100% healthy. Out of the 62 calls to the OpenAI API server, 0 failed.

@ Settings used: Length=Short, Voice=Second_Person, Lists, Custom_Style=WordPress Developer or Web Developer, SEO_Keywords, SERP Scraping, Active_Voice, Conclusion

@ SERP URL #1: https://blog.hubspot.com/website/wordpress-add-expires-headers
@ SERP URL #2: https://www.wpbeginner.com/wp-tutorials/how-to-add-expires-headers-in-wordpress/
@ SERP URL #3: https://kinsta.com/knowledgebase/add-expires-headers-wordpress/
@ SERP URL #4: https://rankmath.com/blog/add-expires-headers-wordpress/
@ SERP URL #5: https://wordpress.com/forums/topic/how-to-add-expires-headers/

@ Midjourney AI Image Prompt: /imagine prompt:Create an image showcasing a WordPress dashboard with the “Performance” tab open, highlighting the “Browser caching” section. Display a step-by-step process of enabling “Expires Headers” by selecting the appropriate option and saving changes. –v 5.2 –ar 16:9

@ Meta Description: Learn how to boost your WordPress site’s speed with expires headers. Increase loading times and improve user experience. Click to find out more!

How to Add Expires Headers in WordPress

Are you tired of your WordPress website taking forever to load? Well, imagine this: you come across a beautifully designed website that loads lightning fast. You click on each page and it instantly appears, without any lag or delay.

How can you achieve the same seamless experience for your own website? One effective solution is to add expires headers. By following our step-by-step guide, you can easily configure the expiration time for different types of files, such as images, CSS, and JavaScript.

This means that when visitors return to your site, their browsers will retrieve these files from their cache, resulting in a faster loading time.

So, let’s get started and learn how to add expires headers in WordPress to optimize your website’s performance.

Installing the Modern Footnotes Plugin

To install the Modern Footnotes plugin in WordPress, follow these steps.

First, log in to your WordPress dashboard and navigate to the ‘Plugins’ section.

Click on ‘Add New’ and then search for ‘Modern Footnotes’ in the search bar.

Once you find the plugin, click on the ‘Install Now’ button.

After the installation is complete, click on the ‘Activate’ button to activate the plugin.

Now, you can start using the Modern Footnotes plugin to enhance the display of footnotes on your WordPress site.

This plugin offers a user-friendly way to create and manage footnotes within WordPress.

With the Modern Footnotes plugin, you can easily add and customize footnotes in your WordPress posts, improving the readability and visual appeal of your footnotes.

Adding Footnotes in Gutenberg Editor

To add footnotes in the Gutenberg Editor, you can easily incorporate them using the ‘Footnote’ block, enhancing the readability and reference capabilities of your content. This feature allows you to provide additional context or explanations within your WordPress posts or pages.

Here’s how you can add footnotes in the Gutenberg Editor:

  • Open the Gutenberg Editor and create a new post or page.
  • Click on the ‘+’ icon to add a new block.
  • Search for the ‘Footnote’ block and select it.
  • Enter the text for your footnote in the provided text field.
  • Format the text as needed using the available formatting options.
  • Repeat the process to add additional footnotes if necessary.
  • You can also rearrange the footnotes by dragging and dropping the blocks.

Adding Footnotes in Classic Editor

You can easily add footnotes in the Classic Editor by following these steps.

First, open the Classic Editor and navigate to the section where you want to add the footnote.

Next, click on the ‘Text’ tab at the top right corner of the editor to switch to the HTML view.

Then, locate the position where you want to insert the footnote and add the following HTML code: [1]. Replace ‘[1]’ with the desired number or symbol for the footnote.

After adding the code, switch back to the ‘Visual’ tab to see the footnote in the editor.

You can repeat this process to add multiple footnotes in your content.

Adding footnotes in the Classic Editor allows you to provide additional information or citations without cluttering the main text.

Using the Easy Footnotes Plugin

To start using the Easy Footnotes Plugin, simply install and activate the plugin in your WordPress website. Once activated, follow these steps to add expires headers using the plugin:

  • Go to the plugin’s settings page in your WordPress dashboard.
  • Enable the ‘Expires Headers’ option to activate the feature.
  • Specify the expiration period for different file types, such as images, CSS, and JavaScript.
  • For example, you can set a longer expiration period for images that don’t change frequently.
  • On the other hand, you can set a shorter expiration period for CSS and JavaScript files that may be updated more frequently.
  • By setting different expiration periods, you can optimize cache usage and ensure that your website always delivers the latest files when necessary.

Other Footnote Plugins to Consider

Consider other footnote plugins available for your WordPress website.

While the Easy Footnotes plugin is a popular choice, there are other options that you may find useful for adding footnotes to your content.

One such plugin is the Simple Footnotes plugin, which provides a straightforward and user-friendly way to add footnotes to your WordPress posts and pages. With this plugin, you can easily create and manage footnotes, customize their appearance, and even add footnotes to your widgets.

Another option is the Footnotes Made Easy plugin, which offers advanced features for managing footnotes, such as the ability to add footnotes to custom post types, control their placement in your content, and even add footnotes to your excerpts.

Explore these plugins to find the one that best suits your needs when it comes to adding footnotes to your WordPress website.

Enhancing the User Experience With Footnotes

Enhancing the overall user experience, incorporating footnotes into your content provides additional context and depth to your WordPress website. By adding footnotes, you can enhance the readability of your content and provide additional information or references for your readers.

Here are three ways footnotes can enhance the user experience on your WordPress website:

  • Adds credibility: Footnotes allow you to cite your sources and provide evidence for your claims, adding credibility to your content. This helps build trust with your audience and establishes you as an authority in your field.
  • Improves navigation: Footnotes can act as navigational tools, allowing readers to easily jump to relevant sections or sources within your content. This improves the overall user experience by making it easier for readers to find the information they need.
  • Enhances engagement: Footnotes can spark curiosity and encourage readers to explore your content further. By providing additional information or related resources in footnotes, you can engage your audience and keep them on your website for longer.

Using the FD Footnotes Plugin

You can easily incorporate footnotes into your WordPress website by using the FD Footnotes Plugin. This plugin allows you to add explanatory notes or references at the bottom of your posts or pages, enhancing the readability and user experience of your content.

To add footnotes, simply install and activate the FD Footnotes Plugin from the WordPress plugin repository. Once activated, you can start adding footnotes to your posts or pages by using the [ref] and [/ref] shortcodes.

The plugin also provides options to customize the appearance of the footnotes, such as choosing the numbering style and positioning.

Adding Footnotes With a Writing App (Scrivener)

To seamlessly transition from incorporating footnotes with the FD Footnotes Plugin, let’s explore how you can easily add footnotes to your WordPress content using the writing app Scrivener. With Scrivener, you can add footnotes to your articles and improve the credibility and professionalism of your WordPress site.

Here’s how you can do it:

  • Install Scrivener: First, download and install Scrivener on your computer.
  • Open your project: Launch Scrivener and open your WordPress project.
  • Navigate to the desired section: Go to the section where you want to add a footnote.
  • Insert a footnote: Click on the ‘Insert’ menu and select ‘Footnote’ to add a footnote at the cursor position.
  • Add content: Type in your footnote content.
  • Manage footnotes: Use the ‘Inspector’ panel in Scrivener to manage and organize your footnotes.
  • Export to WordPress: Once you’re done, export your content from Scrivener to WordPress, and your footnotes will be included in the final article.


In conclusion, adding expires headers in WordPress is a simple and effective way to optimize the performance of your website.

By specifying expiration times for various types of files, you can enable caching and improve loading speed.

This ensures that when visitors return to your site, their browsers retrieve files from their cache instead of making new requests to the server, resulting in a faster user experience.

Implementing expires headers is a crucial step in providing a seamless and efficient browsing experience for your website visitors.

How can you add expires headers in WordPress and what are the benefits of browser caching?

To add expires headers in WordPress and leverage browser caching, you can use the WP Rocket plugin. WP Rocket simplifies the process by providing an intuitive interface for managing cache settings, setting expiration dates, and optimizing browser caching. By enabling browser caching, you can store frequently accessed resources locally, reducing server load and decreasing page load times. This enhances site speed, user experience, and SEO performance. WP Rocket allows for fine-tuning cache settings, enabling lazy loading for images, and deferring JavaScript execution to further improve website performance. For Apache servers, you can manually modify the .htaccess file, while for Nginx servers, you need to modify the server block or nginx.conf file. These configurations set cache expiration parameters and leverage browser caching best practices. Overall, adding expires headers and implementing browser caching is crucial for optimizing website performance.

Table of Contents