Skip to content

Weltpixel/google-xml-sitemap-magento-2-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation




Google XML Sitemap
WeltPixel Logo

ABOUT THE MAGENTO 2 XML SITEMAP EXTENSION FOR GOOGLE.

Our Magento 2 sitemap extension dynamically generates XML sitemaps to help search engines crawl and index your store faster!

Google has specific rules for sitemap generation settings and failing to obey them can drastically affect SEO performance. It’s essential to have your sitemaps built automatically with the help of a Magento XML sitemap generator. WeltPixel’s extension meets all search engine requirements, including Google. Plus, faster indexing of new pages will shorten the time it takes your products to appear in Google!

Our Magento sitemap generator gives you granular control over the visibility of each product, category, and CMS page within. It also allows you to add custom URLS into the sitemap - even those not included in the default Magento sitemap. You will have full control over attributes like store-view, priority, change frequency, and update date.

By using this user friendly Magento 2 extension you can dynamically exclude products, categories, and pages from the sitemap file. This is helpful for pages required in your store that you don’t want indexed by search engines.

Include any links in your sitemaps:

Google XML Sitemap for Magento 2 allows to include/exclude links from various locations:

  • Category pages.
  • Product pages.
  • CMS pages.
  • Custom URLs.

Better sitemap reliability using advanced settings.

You can configure detailed settings like storeview, priority, update date and change frequency. You can set the values specifically for each group of links: Products, Categories, CMS pages, and individually for each Custom URL. The more appropriate settings you have, the more Google trusts your site!


FEATURES OF THE MAGENTO 2 XML SITEMAP EXTENSION FOR GOOGLE.

  • Faster indexation of your store content - better SEO score.
  • Configure frequency updates - for each type of page CMS, Product, Category, Custom URL.
  • Individual Product control - control what Products you want to be included/excluded from sitemap
  • Individual Category control - control what Categories you want to be included/excluded from sitemap.
  • Individual CMS Pages control - control what CMS Pages you want to be included/excluded from sitemap.
  • Add unlimited custom URLs - full control over each URL’s priority, store-view, change frequency & update date.
  • Dynamic generated sitemap - once configured, always up to date.
  • Increase conversions & reduce bounce rate - allow search engines to index the appropriate elements of your store in order to reduce bounce rate & improve conversions.
  • Reduce return rate - help buyers find the best product for them using specific relevant information already indexed in search engines using your advanced sitemap.
  • Easy to use - no coding needed.
  • Best practice coding - extending the functionality of the default Magento 2 XML sitemap.

1 MINUTE INSTALLATION GUI.

  • Step 1:
    Before installing please check the extension compatibility. This extension is currently compatible with the following Magento versions 2.0.X. - 2.4.X. It is recommended to install the extension first on a testing server before you install it on a live (production) server.
  • Step 2:
    Copy the extension files to below paths of your magento 2 instance. If ‘app/code/WeltPixel’ folder is missing, please create it manually: app/code/WeltPixel/Backend
    app/code/WeltPixel/Sitemap
  • Optional: Copy the extension files into the below path of your Magento 2 instance. If the ‘app/code/WeSupply’ folder is missing, please create it manually:
    app/code/WeSupply/Toolbox

  • Step 3:
    Copy the installation GUI folder 'weltpixel-extension-installation' in the root of your Magento installation. In some Magento configurations the public root folder may be under 'pub' directory.
    www.yourmagentostore.com/weltpixel-extension-installation/

  • Step 4:
    In your browser go to www.yourmagentostore.com/weltpixel-extension-installation/ and simply follow the installation steps from the graphical interface, presented in your browser.
  • Step 5:
    Wooohooo! The extension is now installed on your Magento store! Congrats!
  • Troubleshooting

    If you experienced any issues or limitations with this quick GUI installation, see also SSH Installation below. SSH installation does the same thing but you are required to issue the commands step by step via CLI. Some servers may have high security configurations and may limit the functionality of this GUI Installer.

How to Install via SSH.

  • Step 1:

    Before installing Google XML Sitemap Extension on a Magento2 store please check the extension compatibility. This extension is currently compatible with the following Magento versions 2.0.X. - 2.4.x. It is recommended to install the extension first on a testing server before you install it on a live (production) server.


  • Step 2:

    Copy the extension files to the paths of your Magento 2 instance listed below. If the ‘app/code/WeltPixel’ folder is missing, please create it manually:

    app/code/WeltPixel/Backend
    app/code/WeltPixel/Sitemap

  • Optional: Copy the extension files into the below path of your Magento 2 instance. If the ‘app/code/WeSupply’ folder is missing, please create it manually:
    app/code/WeSupply/Toolbox

  • Step 3:

    Access the root of your Magento 2 project from the command line and run the following commands:
    php bin/magento module:enable WeltPixel_Backend --clear-static-content
    php bin/magento module:enable WeltPixel_Sitemap --clear-static-content
    php bin/magento setup:upgrade

  • Step 4:

    Flush any cache that you might still have enabled on your server or in Magento.


  • Step 5:

    Woohoo, the extension is installed!

How to Upgrade the extension.

  • Step 1. Remove extension code under app/code/WeltPixel/Sitemap before adding the new extension files. The extension may be refactored and old unused files may cause random issues so it's best to only keep the latest version of the files.
  • Step 2. Follow normal installation instructions above.

Magento Marketplace Installation.

HOW TO CONFIGURE THE EXTENSION

STEP 1:

HOW TO CREATE A SITEMAP IN MAGENTO?

Go to Marketing -> SEO & Search -> Site Map and add your sitemap by clicking on "Add Sitemap" button

  • Select the name for your sitemap, example: sitemap.xml
  • Select the path for your sitemap, example: "/sitemap/" or "/" for base path (path must be writeable)

STEP 2:

HOW TO SETUP AND CONFIGURE A SITEMAP IN MAGENTO?

Go to Stores -> Configuration -> Catalog -> XML Sitemap and configure default settings for your sitemap.

  • a. Select Frequency and Priority for each type of page in your store: Category Pages, Product Pages, CMS Pages.

Frequency

How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page. Valid values are:

  • always / hourly / daily / weekly / monthly / yearly / never

The value "always" should be used to describe documents that change each time they are accessed. The value "never" should be used to describe archived URLs.

Please note that the value of this tag is considered a hint and not a command. Even though search engine crawlers may consider this information when making decisions, they may crawl pages marked "hourly" less frequently than that, and they may crawl pages marked "yearly" more frequently than that. Crawlers may periodically crawl pages marked "never" so that they can handle unexpected changes to those pages.

Priority

The priority of the URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites—it only lets the search engines know which pages you deem most important for the crawlers. The default priority of a page is 0.5.

Please note that the priority you assign to a page is not likely to influence the position of your URLs in a search engine's result pages.

Search engines may use this information when selecting between URLs on the same site, so you can use this tag to increase the likelihood that your most important pages are present in a search index.

Also, please note that assigning a high priority to all of the URLs on your site is not likely to help you. Since the priority is relative, it is only used to select between URLs on your site.

b. Configuring sitemap generation settings

-Enable - [ Yes / No ] - this option enable sitemap generation. Make sure cronjobs are setup on your server in order for this automated task to be triggered.

-Start time - set the time when sitemap generation should start

-Frequency - set how often you want your sitemap to be updated

-Error email recepient - configure an email where you should receive potential error reports

-Error email sender - configure store default sender of the email

-Error email template - configure store default template for the email

-Maximum No of URLs per file - set the maximum number of URLs in sitemap.

-Maximum file size - set sitemap file size in bytes

-Enable submission to Robots.txt - [ Yes / No ] - if enabled sitemap will be included in robots.txt file of your store, facilitating search engines to faster discover it.

STEP 3:

HOW TO CUSTOMIZE YOUR MAGENTO SITEMAP USING GOOGLE XML SITEMAP?

  • a. Exclude from sitemap particular CMS Pages you do not want indexed in search engines
  • -Go to Content -> Pages -> Edit Page -> WeltPixel Options -> Exclude from Sitemap -> Yes

    This option is useful when you want to exclude certain CMS Pages from sitemap. Ex: ‘404 Not Found Page’ makes no sense to be indexed by google, you do not want your customers there.

  • b. Exclude from sitemap particular Product Pages you do not want indexed in search engines
  • -Go to Products -> Catalog -> Edit Product -> WeltPixel Options -> Exclude from Sitemap -> Yes

    This option is useful when you want to exclude certain Product Pages from sitemap. Ex: maybe you have a lookbook where your products can be purchased using a quick view functionality and you don’t want to sell the products individually on separate product pages, in this case you can exclude that particular product pages from sitemap indexation.

  • c. Exclude from sitemap particular Category Pages you do not want indexed in search engines
    • -Go to Products -> Categories -> Select Category -> WeltPixel Options -> Exclude from Sitemap -> Yes

      This option is useful when you want to exclude certain Category Pages from sitemap. Ex: You may want to include in sitemap only level 2 categories and exclude level 1 categories in order for clients to land on a more segmented category.

  • d. Add custom URL to sitemap
  • By default magneto doesn’t add to sitemap custom url that may be still relevant to your business, for example a html page presenting your product. Ex: Weltpixel Cleo Theme is presenation of one of our products but is not included in default Magento sitemap.

    By using Google XML custom sitemap URL functionality we’ll be able to add also this link to our dynamically generated sitemap.

    Go to WeltPixel -> Sitemap -> Add New Url

    -URL - Insert link without base url, ex: /cleo and the link in your sitemap will be www.yourbaseurl.com/cleo

    -Updated at - set the time and date when this page was last updated

    -Store View - Select in what store view to insert this custom URL in sitemap

    -Change Frequency - How frequently the page is likely to change. This value provides general information to search engines

    -Priority - The priority of the URL relative to other URLs on your site. Valid values range from 0.0 to 1.0

    -Woohoo, the sitemap is configured!

About

WeltPixel Google XML Sitemap Documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published