Back to vBulletin 3.7 Add-ons

TFSEO Google Sitemap Generator (URL rewriting support)
Mod Version: 1.1, by paketeto

This modification is in the archives.
vB Version: 3.7.x Rating: (3 votes - 5.00 average) Installs: 26
Released: 09 Dec 2008 Last Update: 09 Dec 2008 Downloads: 252
Not Supported Additional Files  

Google's sitemap with the URL rewriting of TFSEO.

If you dont know TFSEO look at: TfSEO 2: the free vBulletin url rewrite

All credit goes to Superjeff, TFSEO'S creator, and i hope he can include and improve this code to merge it seamlessly into TFSEO.

READ CAREFULLY:
ONLY WORKS WITH METHOD 2 OF TFSEO (MEDIUM), with URL STRUCTURE SET TO DIRECTORY (THE FIRST ONE)

---------------------------------------

1. Add this line to your htaccess rules:

RewriteRule (.*)\.xml(.*) $1.php$2 [nocase]

2. Open sitemap.php and fill the required data.

3. Upload sitemap.php to the root of your forum.

4. Write in browser http://www.yourfoum.com/sitemap.php to generate the xml google sitemap.

About the rewrite rule:
What this does is it turns on the rewrite rule (allowing you to modify how URLs are handled, essentially) and adds the logic that allows a file.php to be intepreted as file.xml.

This now means that if you put sitemap.xml into your browser you'll be viewing the output from sitemap.php and that's crucial because now when Google looks for sitemap.xml it's viewing live data from your PHP script. This means that your sitemap.xml file will never be inaccurate.

So now you only must go to

https://www.google.com/webmasters/tools/ping?sitemap=http://www.yourforum/sitemap.xml

each you time you want to tell google to index the changes of your sitemap. The xml is generated by the php code on the fly so is always correct

limitations: Writes only home, forums and threads urls (i think is enough for most uses).

-----------------------------------
v1.1: Added parameters for Home, improved defaults value for frequency and priority.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s TFSEO_Google_Sitemap_1.1.zip (2.8 KB, 242 downloads)

Supporters / CoAuthors

  • superjeff

Similar Mods

Administrative and Maintenance Tools vBSEO Google/Yahoo Sitemap Generator vBulletin 3.7 Add-ons
vBSEO Google/Yahoo Sitemap Generator for vBulletin 3.6.x, 3.5.x & 3.0.x vBulletin 3.5 Add-ons
Administrative and Maintenance Tools vBSEO Google/Yahoo Sitemap Generator vBulletin 3.6 Add-ons
vBSEO Google/Yahoo Sitemap Generator v.2.0 vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024