On Drupal 7 site:
- Enable the xmlsitemap_custom and xmlsitemap_node modules (if they aren’t already enabled).
- Go to Configuration->XML sitemap (/admin/config/search/xmlsitemap)
- Go to the Settings tab.
- Under Content, you can click through to content types and set Inclusion to “Included” under the XML sitemap tab.
- By default the links in the site map include all the links in the website’s menu. To remove the menu’s links go to Structure->Menus->Main menu->Edit menu (/admin/structure/menu/manage/main-menu/edit) and change Inclusion to “Excluded” under XML Sitemap.
- You can also add additional links one at a time to the Custom Links tab.
- On the XML sitemap settings, go to the Rebuild Links tab and press the button.
On Drupal 10:
- Go to Configuration->UNL Transition page import
- In the first box, enter the URL of the Drupal 7 site’s homepage
- It usually will look like https://example.unl.edu/
- But it may include a directory like: https://psychology.unl.edu/lab/
- (On the Drupal 7 site, click the house icon in the top left of the black admin toolbar to go to the site’s homepage to see what the address is.)
- Then fill out either:
- Option #1, the site map URL you made on the Drupal 7 site
- Or Option #2, a single page’s URL that you can just paste in.