https://github.com/aligent/magento2-sitemap-extension
https://github.com/aligent/magento2-sitemap-extension
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/aligent/magento2-sitemap-extension
- Owner: aligent
- License: gpl-3.0
- Created: 2023-03-27T01:56:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-19T06:05:10.000Z (over 1 year ago)
- Last Synced: 2025-04-02T23:46:08.784Z (about 1 year ago)
- Language: PHP
- Size: 60.5 KB
- Stars: 0
- Watchers: 14
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Magento 2 Sitemap Module
This module is used for magento 2 sitemap xml enhancements. This module is mainly contains following features.
- Ability to exclude CMS Pages from Sitemap XML
- Ability to exclude Category Pages from Sitemap XML
- Ability to exclude Product Pages from Sitemap XML
- Ability to exclude Product Images from Sitemap XML
- Include custom PWA Pages to Sitemap XML
## Installation
To install via composer, simply run:
```bash
composer require aligent/magento2-sitemap-extension
```
## Configuration and Settings
- ### Ability to exclude CMS Pages from Sitemap
#### Configurations
`Stores -> Configuration -> Aligent -> Sitemap -> Exclude CMS Pages from Sitemap`.
[](https://postimg.cc/4HQb7QTx)
#### CMS Page Settings
`Content -> Pages -> Edit -> Sitemap -> Show in Sitemap`.
[](https://postimg.cc/zLy5Xd18)
#### Required Steps to exclude CMS Pages from Sitemap
- Set `Exclude CMS Pages from Sitemap` configuration field value to "Yes"
- Set `Show in Sitemap` CMS page(s) value to "No"
- ### Ability to exclude Category Pages from Sitemap
#### Configurations
`Stores -> Configuration -> Aligent -> Sitemap -> Exclude Category Pages from Sitemap`.
[](https://postimg.cc/4HQb7QTx)
#### Category Attribute Settings
`Catalog -> Categories -> Sitemap -> Show in Sitemap`.
[](https://postimg.cc/BPTJfXfF)
#### Required Steps to exclude Category Pages from Sitemap
- Set `Exclude Category Pages from Sitemap` configuration field value to "Yes"
- Set `Show in Sitemap` Category attribute value(s) to "No"
- ### Ability to exclude Product Pages from Sitemap
#### Configurations
`Stores -> Configuration -> Aligent -> Sitemap -> Exclude Product Pages from Sitemap`.
[](https://postimg.cc/4HQb7QTx)
#### Product attribute Settings
`Catalog -> Products -> Edit -> Search Engine Optimization -> Show in Sitemap`.
[](https://postimg.cc/4nqcJMkN)
#### Required Steps to exclude Product Pages from Sitemap
- Set `Exclude Product Pages from Sitemap` configuration field value to "Yes"
- Set `Show in Sitemap` Product attribute value(s) to "No"
- ### Ability to exclude Product Images from Sitemap
#### Configurations
`Stores -> Configuration -> Aligent -> Sitemap -> Exclude Product Images from Sitemap`.
[](https://postimg.cc/4HQb7QTx)
#### Required Steps to exclude Product Images from Sitemap
- Set `Exclude Product Images from Sitemap` configuration field value to "Yes"
- ### Include custom PWA Pages to Sitemap
#### Configurations
`Stores -> Configuration -> Aligent -> Sitemap -> Include PWA Pages to Sitemap`.
`Stores -> Configuration -> Aligent -> Sitemap -> Sitemap Base Url`.
`Stores -> Configuration -> Aligent -> Sitemap -> PWA Pages Url Key`.
[](https://postimg.cc/4HQb7QTx)
#### Required Steps to include custom PWA Pages to Sitemap
- Set `Include PWA Pages to Sitemap` configuration field value to "Yes"
- Define url key's for PWA pages using `PWA Pages Url Key` configuration table
- Define pwa site url for `Sitemap Base Url` configuration.