Create Site Map Mod
The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]
If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:
[See details in the TNGv12 Change Impacts Article][Hide the instructions] |
|
Create Site Map Mod | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Summary | Creates a sitemap.xml.gz file to assist Google with indexing a TNG site | |||||||||||
Validation | ||||||||||||
Mod Updated | 27 Dec 2022 | |||||||||||
Download link | For
Create Sitemap TNG14.0 For
Create Sitemap TNG 12.0 For
Create Sitemap TNG 10.1.x,11.x.x For
Create Sitemap TNG 8,9,10.0 | |||||||||||
Download stats | ||||||||||||
Author(s) | Steve Hoover - initial version Rush Krieger - modified to new Google standards Roger Moffat - Mod Manager versions for TNG 8-14 | |||||||||||
Homepage | Create Site Map Mod (This page) | |||||||||||
Mod Support | TNG Community Forums | |||||||||||
Contact Developer | TNG Community Forums | |||||||||||
Latest Mod | 14.0.0.5 | |||||||||||
Min TNG V | 8.0.0 | |||||||||||
Max TNG V | 14.0 | |||||||||||
Files modified | admin_secondary.php admin_secondmenu.php languages/English/cust_text.php languages/English-UTF8/cust_text.php | |||||||||||
Related Mods | ||||||||||||
Notes |
Purpose of the mod
This mod is provided to make creating a Google sitemap a very simple process by clicking a button in the Secondary Processes tab of TNG Admin ------> Import/Export
Developer
This mod was developed by Steve Hoover as a stand alone file to be installed and run manually.
Rush Krieger updated it for TNG 7 and Google's new standards for sitemap.xml files.
Roger Moffat has tweaked it for TNG 8 - 14 and made it a Mod Manager install.
Rick Bisbee helped with code to count those included and those excluded.
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary to the right)
- An installed current version of the Mod Manager.
Revision History
Mod Version | TNG Version | Date | Contents |
---|---|---|---|
14.0.0.5 | 14.0 | 13 Sep 2023 | Small revision to update the way URLs were counted to ensure only 50,000 in the first file. |
14.0.0.4 | 14.0 | 27 Dec 2022 | Updated for TNG 14. |
12.0.0.3 | 12.0 | 02 Jan 2021 | Small revision to update the way URLs were counted to ensure only 50,000 in the first file. |
12.0.0.2 | 12.0 | 03 Oct 2020 | Small revision to update for Mod Manager standards. |
12.0.0.1 | 12.0 | 30 Oct 2019 | Small revision to allow for & character in media file names. |
12.0.0.0 | 12.0 | 14 Nov 2018 | Updated Mod to TNG 12 specs for targeting cust_text.php files. No functional changes. |
10.1.0.5 | 10.1 | 14 Nov 2018 | Added better handling of Media links, including handling folios - thanks to Rick Bisbee for this bit of code. Better counting of individuals, families and media that are indexed, or skipped due to Living or Private. |
10.1.0.4 | 10.1 | 28 Jun 2018 | Unreleased - allowed for suppression of Living and Private individuals and families. |
10.1.0.3 | 10.1 | 24 Aug 2016 | Updated to work with newer sitemap practices, including indexing images, and to allow options to include or exclude people, families and media. |
10.1.0.2 | 10.1 | 6 Aug 2015 | Updated to change the calculation of the path to write the file to and to properly handle the genealogy URL in WordPress environments. |
10.1.0.1 | 10.1 | 15 June 2015 | Updated to support http/https protocols. |
10.1.0.0 | 10.1 | 08 Jan 2015 | Updated to work with TNG 10.1 tng_query structures. |
Conflicts and Issues
Happiness that creating a sitemap that Google will use to draw new cousins to your site is so much easier :-)
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
The Secondary Processes tab in TNG Admin ------> Import/Export shows a new button In TNG 14 this tab is now called Post-import Utilities
In the event of a problem
- Try using the Mod Manager Remove capability.
- Copy the backup of the affected files back to your TNG directory.
- Retry installing mod.
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Visualization
The following screen captures show the changes made by the mod:
TNG 8, 9
TNG 10 - 14
After you click this button, the script will run and then the following page shows what the output is
TNG 10.1 Parameters
Copy the link for the tngsitemapindex.xml file (the large bold link) and then put that into your Google Webmaster Tools sitemap settings if you have this set up, or place it in your robots.txt file like this
Sitemap: http://lisaandroger.com/tngsitemapindex.xml
and Google will find it there.
Sites using this mod
If you download and install this mod,please add your TNG site to the table below: