Just crawl your site and get an automatic sitemap. Ain’t no one got time to code it.
Let a crawler generate a sitemap for you. Who has time to code it themselves?
Lazy Sitemap Generator requires EE6/7 and PHP8.0+.
lazy_sitemap_generator
folder to your system/user/addons
folder.Developer > Addons
(yoursite.com/admin.php?/cp/addons).Third Party Add-Ons
.Lazy Signup Generator
and click Install
.There are two ways to generate a sitemap, as this can be a very time-intensive item.
Navigate to yoursite.com/?ACT=123
, replacing 123 with the action ID of the generate
function. Sit back, and it will crawl your site.
You can also specify a URL, if you do not have one in your config, or want to specify a subdomain. yoursite.com/?ACT=123&url=https://yoursite.com
There is also a generate_fresh
action, which will clear all existing sitemap URLs and start fresh.
Technically
, you can use these methods inside an EE template, as {exp:lazy_sitemap_generator:generate}
and {exp:lazy_sitemap_generator:generate_fresh}
, but it is not recommended.
Using eecli.php
, you can run the following command:
php eecli.php lazy_sitemap_generator:generate:sitemap
In order to generate the sitemap from the CLI. This is great for larger sites that will require a long running crawl process or you want to automate this with cron.
--fresh
: Use this to run the command with deleting all old records
--url
: Use this to specify the URL you want to crawl. DEFAULT: your site’s base_url
--force
: Both fresh
and url
will check to verify these actions. Use the force
option to skip checking. Useful for crons
Create a template of XML type, such as sitemap.group/index.xml
.
Add the following template tag to your code:
{exp:lazy_sitemap_generator:view}
Then generate your sitemap (see above), navigate to yoursite.com/sitemap
and enjoy!
We want to make sure you have what you need on this. Head to docs.triplenerdscore.net for help!
Version | 1.0.2 |
Last Update | 8 months ago |
Compatibility | EE 7, 6 |
License | Commercial |
Renewals |
$15.00 -
1 years
|
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.