How to Set up sitemap.xml on NGINX Servers?

Squirrly SEO automatically generates your sitemap when you enable the XML Sitemap settings.

On NGINX servers, you may need to add server-level rewrites in order to correctly set up the sitemap.xml file.

For this purpose, we recommend setting the following rules for Squirrly SEO sitemap in Nginx.conf:

location ~ ([^/]*)sitemap(.*).xml$ {  
rewrite ^/sitemap.xml$ /index.php?sq_feed=sitemap last;
rewrite ^/sitemap-posts.xml$ /index.php?sq_feed=sitemap-post last;  
rewrite ^/sitemap-posts.xml\?page=([0-9]+)$ /index.php?sq_feed=sitemap-post&page=$1 last;  
rewrite ^/sitemap-pages.xml$ /index.php?sq_feed=sitemap-page last;  
rewrite ^/sitemap-pages.xml\?page=([0-9]+)$ /index.php?sq_feed=sitemap-page&page=$1 last;  
rewrite ^/sitemap-categories.xml$ /index.php?sq_feed=sitemap-category last;  
rewrite ^/sitemap-tags.xml$ /index.php?sq_feed=sitemap-tag last;  
rewrite ^/sitemap-archives.xml$ /index.php?sq_feed=sitemap-archive last;  
rewrite ^/sitemap-custom-taxonomies.xml$ /index.php?sq_feed=sitemap-custom-tax last;  
rewrite ^/sitemap-custom-taxonomies.xml\?page=([0-9]+)$ /index.php?sq_feed=sitemap-custom-post&page=$1 last;
rewrite ^/sitemap-custom-taxonomies.xml\?page=([0-9]+)&type=([a-z]+)$ /index.php?sq_feed=sitemap-custom-post&page=$1&type=$2 last;  
rewrite ^/sitemap-custom-posts.xml$ /index.php?sq_feed=sitemap-custom-post last;  
rewrite ^/sitemap-custom-posts.xml\?page=([0-9]+)$ /index.php?sq_feed=sitemap-custom-post&page=$1 last; 
rewrite ^/sitemap-custom-posts.xml\?page=([0-9]+)&type=([a-z]+)$ /index.php?sq_feed=sitemap-custom-post&page=$1&type=$2 last; 
rewrite ^/sitemap-([a-z]+).xml$ /index.php?sq_feed=sitemap-$1 last; } 

NOTE! In case you are not 100% sure where to add these rules, we recommend reaching out to your web host or server admin and asking for further assistance.

Still Need Help?

If you’ve added the rewrite rules in the correct file, and you still encounter issues, they are likely linked to other settings on your server. You can always reach out to our support team via one of the available channels whenever you need more assistance.

Why is there a limit of Focus Pages in Squirrly SEO?

The limit of Focus Pages per site is well thought and don’t need to change it.

By focusing on a few Focus Pages at once is more than enough as you have to complete all the ranking factors.

Once you ranked in the top 10 with a Focus Page, you can change the Focus Page and concentrate on another Focus Page.

There are big companies that have teams working with ~ 5 Landing Pages per website. There is a huge amount of work for each Focus Page to rank it on TOP 10 Google, so adding more of them will just make your SEO Strategy harder.

How Can I Change My Squirrly Account?

In this short tutorial, we’re going to show you how to change an account that’s currently connected to Squirrly SEO. This may come in handy in situations such as:

  • you’ve created a Squirrly SEO account using the wrong email address, want to disconnect it from Squirrly SEO and connect with the correct email address
  • you want to change and old account used to connect to Squirrly with a new account

Let’s get to it!

Step 1: In your WordPress Admin Menu, go to “Plugins”

Step 2: Find Squirrly SEO in your list of Installed Plugins

Step 3: Deactivate Squirrly SEO

Click on Deactivate. This will prompt a new panel to appear (shown in the screenshot below). From this panel:

  • Tick the box that reads: Disconnect from Squirrly Cloud
  • Then click on either Submit & Deactivate OR Skip & Deactivate
This image has an empty alt attribute; its file name is image-2-1-1024x510.png

Step 4: Go back to your list of Installed Plugins. Activate Squirrly SEO

Step 5: Create a New Account to Connect your site to Squirrly SEO

This image has an empty alt attribute; its file name is image-4.png

How Can I Change the Main Keyword for a Focus Page?

One of the factors that the Focus Pages system takes into account when generating tasks and calculating a page’s chances of ranking is the MAIN keyword for which you’ve optimized that page using the SEO Live Assistant (SLA).

The SEO Live Assistant (SLA) allows you to optimize your content for multiple keywords, but you CAN’T have more than one keyword set as the main keyword for your Focus Pages at the same time.

To indicate which keyword is currently set as your main keyword for a page you’ve added as a Focus Page – Squirrly will place a STAR SYMBOL next to it.

*as you can see in the screenshot below.

However, you can change the main keyword for your Focus Pages whenever you want – right from the Focus Pages section.

Here’s how to do it:

1️⃣ Go to Squirrly SEO > Focus Pages from your WordPress Dashboard.

2️⃣ Once inside the Focus Pages section, click on the Keyword Element corresponding to the Focus Page for which you want to change the main keyword.

Once you click on the Keyword Element:

On the right side of the screen, you will see all the keywords for which you’ve optimized that Focus Page using the SLA, alongside the optimization percentage achieved for each keyword.

View an example of how this looks like in the screenshot below:

? The Focus Page must be optimized for multiple keywords using the SEO Live Assistant in order for Squirrly to be able to retrieve this information – and show it in the Focus Pages section.

Again, the keyword that’s currently your main keyword associated with that Focus Page will have a STAR symbol next to it.

3️⃣ To change the main keyword for your Focus Page, click on the list of keywords located at the right side of the screen. (as shown in the screenshot below)

4️⃣ Clicking on the list of keywords will prompt a new panel to appear.

From the drop-down, select the keyword you want the Focus Pages system to recognize as the main keyword for your Focus Page. Click on Save Main Keyword to save your settings.

5️⃣ The final step is to Request a New Audit to update the report and receive fresh information.

Once you Request a New Audit, the Focus Pages system will start taking into account the new main keyword you’ve selected to calculate your chances of rankings and generate keyword-related tasks for your next report.

And your changes will be visible in the keywords list that appears on the right side of the screen when you click on the Keyword Element for your Focus Page (namely: the new keyword you’ve selected as the main keyword will have the S T A R symbol next to it).

Note! If you want to further optimize your page (increase the optimization percentages or optimize for more keywords), you can click on Optimize for this.

Once you click on Optimize for this, Squirrly will take you to Edit Post where you can use the SEO Live Assistant to optimize for multiple keywords you previously saved to Briefcase.

Now You Know

By selecting the main keyword for your Focus Page – you’re basically telling our Focus Pages system:

This is the keyword I want you to take into account when calculating my Focus Page’s chances of ranking and configuring to-dos because this is the main keyword I’m interested in ranking for with this Focus Page.

And now you know how to do it – right from the Focus Pages section of Squirrly SEO.

? Important Notes!

Squirrly will sync the information related to which is a page’s main keyword.


If you change the main keyword inside the SEO Live Assistant for a page you’ve added as a Focus Page, our Focus Pages system will consider that keyword to be the main keyword when calculating the chances of ranking and generating tasks.

And vice-versa. Changing the main keyword for your Focus Page from the Focus Pages section will also change the main keyword inside the SEO Live Assistant.

Is there a Way to Remove the no-index Pages from the Sitemap using Squirrly?

Q: Is there a way to remove the no-index pages from the sitemap? I get the following recommendation: Pages with the no-index meta tag have been found in the XML sitemap. This is confusing for search engines since sitemaps should only list pages that have to be crawled and indexed.

A: Yes, you can use Squirrly SEO to remove the no-index pages from the sitemap.

Yes, you can do this by post type using the SEO Settings > Automation functionality. Simply select the post type and switch off: “Include In Sitemap”.

More details about this can be seen here.

Or you can do this at an URL level by editing the SEO Snippet and then selecting “Visibility”. More details about this can be seen here.

Does Squirrly SEO work with Thrive Themes?

Yes, it does. You can also use Squirrly SEO in compatibility mode. (more information about this available here)

Once you do this, the SaaS part of Squirrly SEO will help you with your SEO, and the code-changing features will be left to your themes and plugins. Also, we recently did a test for Thrive Architect and Squirrly works well with it.

Does Squirrly SEO Work Seamlessly with any Theme?

Q: Does Squirrly SEO work seamlessly with any themes (without using any page builders) the same way Rankmath and Yoast work with Elementor? Especially Blocksy and BricksBuilder. With Blocksy, I’m trying to use only Gutenberg and want to ditch page builders.

A: Yes, it does. It works awesomely with Elementor.

The SEO Live Assistant Module of Squirrly SEO works on the front-end of Elementor, just as you’re creating or editing your Elementor page. We were the first to integrate our real-time SEO Live Assistant with it on the front end while editing. It works very well with Gutenberg as well.

As an agency, if a client stops using us, what should we do with installed Squirrly on their website?

Using the Web Dev Kit allows you to customize Squirrly SEO and install it on your clients’ sites.

In Squirrly SEO, you have the option to either temporarily disconnect a site or completely delete a website from your account (from the Cloud App). You can always reconnect a disconnected site. Disconnecting a site won’t DELETE it from the Squirrly Cloud. All information will continue to be stored, in case you want to restore the connection.

Deleting a site will lead to all information related to optimizations made, keyword research, and more to be deleted for that site as well. We don’t recommend deleting a site unless you are 100% sure you will no longer need that website.

However, even if you delete a site from your account, your clients won’t lose optimizations made using the SEO Live Assistant, for example. That content will continue to be optimized even after you stop using Squirrly on their site.

More information about this available here.

Is Squirrly SEO Compatible with Oxygen Builder?

Yes, there is full support for technical SEO and for the rankings and audits made for pages using Oxygen. Furthermore, all our features work with the Oxygen Builder, including the SEO Live Assistant.