22 Dec 2008 @ 11:41 PM 

Search engines love sitemaps generally for one reason: They can find every page on your site easily. That makes it faster and easier for them to update their information about your website and it’s links.

Users love sitemaps generally for one reason: They can get to any page on your website in two clicks!

This plugin will add a self generating sitemap page to your AV Arcade website to help improve user experience and SEO.

This script will generate a list of links to each page by fetching the information from the AV Arcade database.

The sitemap will detect if the SEO setting is on or off in the Admin Control Panel and change the links accordingly.

The content it will index includes:

  • Pages
  • Categories
  • Games (Published Only)
  • News
  • Members
  • Members’ Comments

Simple Install

The simple install will simply get the AV Arcade Sitemap working on your arcade site.
It won’t look nice, but will still give benifits from the search engines.

  1. Download and unpack sitemap.php
  2. Upload it to your websites’ root folder (yoursite.com)
  3. Link to the sitemap from your home page

Intergrated Install

The intergrated install will intergrate the AV Arcade Sitemap into the default or custom template.
It will look a lot nicer :)

  1. Download and unpack sitemap.php
  2. Download your templates index.php
  3. Move the top 4 lines from sitemap.php to your template file (removing them in the process):
    1
    2
    3
    4
    
    <?php
    	include ('config.php');
    	include ('language/'.$language.'.php');
    ?>
  4. Search your templates index.php for:
    34
    
    <? include ('./content/content.php'); ?>
  5. Replace the above code with the contents of my sitemap.php (Make sure you leave any other code there or you will break the layout)
  6. Open modules/pages_horizontal.php and find:
    15
    
    	echo '&nbsp;<a href="mailto:?subject=Hey, check out '.$site_url.'">'.TELLFRIEND.'</a>';
  7. Change it to:
    15
    
        	echo '&nbsp;<a href="mailto:?subject=Hey, check out '.$site_url.'">'.TELLFRIEND.'</a> | <a href='.$site_url.'/sitemap.php>Sitemap</a>';
  8. Check the links are working ok and save the new sitemap.php to your server!
AV Arcade Sitemap Demo                     AV Arcade Sitemap Download

Notes

You can rename delta-sitemap.php to sitemap.php if you are using the default AV Arcade template.
This add-on was put togeather quickly, so I havn’t really gone over the code except to make sure it works as intended.

If you have any problems or would like to make a suggestion, please let me know



  • Technorati
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Facebook
  • MySpace
  • LinkedIn
  • Live
  • Sphinn
  • MisterWong
  • Slashdot
  • Tumblr
  • Wikio
  • Yahoo! Buzz
  • BlinkList
  • Google Bookmarks
  • Print
  • email
Posted By: Abe
Last Edit: 08 Aug 2009 @ 11:55 AM

EmailPermalink
Tags
Tags: , , , ,
Categories: AV Arcade


 

Responses to this post » (2 Total)

 
  1. [...] This plugin will add a self generating sitemap page to your AV Arcade website to help improve user experience and SEO [...]

  2. Abe says:

    I will totally redo this soon because it’s coded badly. I essentially just copy / pasted the original code and modified to break the loops…. I never really expected so many people to use it :)

    I will make the SEO call once to save SQL queries and increase performance on high traffic sites.
    Expect an update in about a week.

Post a Comment

You must be logged in to post a comment.

Change Theme...
  • Users » 195
  • Posts/Pages » 37
  • Comments » 28
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

DDO Forum



    No Child Pages.

Login



    No Child Pages.