*

Recent

Author Topic: [Add On] Auto Sitemap  (Read 11519 times)

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
[Add On] Auto Sitemap
« on: October 16, 2014, 06:16:34 PM »
Add a Sitemap to your Arcade!

Features :
Completely Automatic
Google sitemaps compatible
Easy to install, just one edit and file upload

add to the bottom of .htaccess file
Code: [Select]
RewriteRule ^sitemap.xml sitemap.php [L]

upload sitemap.php to root of your arcade

your done visit your sitemap => yourarcadename/sitemap.xml




CorzacGames

  • Newbie
  • *
  • Posts: 4
  • Force: +0/-0
    • Corzac Games
Re: [Add On] Auto Sitemap
« Reply #1 on: November 18, 2014, 01:38:37 AM »
Thank you. Works perfect.

Frank

  • Sr. Member
  • ****
  • Posts: 257
  • Force: +4/-0
Re: [Add On] Auto Sitemap
« Reply #2 on: December 18, 2014, 04:26:12 AM »
It has a problem with categories?

[http://127.0.0.1/fas3/index.php?action=browse&ID=Sports] etc. And that's without SEO turned on.

You also need to escape the Db queries if they are empty?  ;)

I use something that's a bit different and easier - you only got to ask if you want it  :P
« Last Edit: December 19, 2014, 05:39:58 AM by Frank »

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: [Add On] Auto Sitemap
« Reply #3 on: January 04, 2015, 02:38:23 PM »
Here is the fix for none SEO categories
Find:
Code: [Select]
$categoryurl = ''.$domain.'/index.php?action=browse&ID='.$row['1'].'';

Replace:
Code: [Select]
$categoryurl = ''.$domain.'/index.php?action=browse&ID='.$row['0'].'';

Stylermw95

  • Contributors
  • Newbie
  • *******
  • Posts: 4
  • Force: +0/-0
    • PDS Gaming
Re: [Add On] Auto Sitemap
« Reply #4 on: June 14, 2015, 10:24:06 AM »
Hello,

if i used your example for the .htaccess then i become a 404 error.

I have unwrite your example to

Code: [Select]
RewriteRule ^sitemap.xml$ /sitemap.php [L]

And this works fine.

For all with the same problem here my code. :)

Best Regards from Germany

Stylermw95
I´ll be a German Developer!

kizinew

  • Newbie
  • *
  • Posts: 10
  • Force: +0/-0
Re: [Add On] Auto Sitemap
« Reply #5 on: June 16, 2016, 10:31:44 PM »
Thank you. it's working prefect