PDA

View Full Version : Simple Sitemap


bjhuang
16 Jan 2009, 10:36
What is it

a really simple sitemap for spiders.

Why

vbseo sitemap is good. but i need another sitemap for spiders to crawl my site more NATURALLY and a sitemap to feed spiders other than google and yahoo.

this sitemap script list all of your threads, newest first. the page updates so fast that spiders will check it more often. hopefully it helps your new threads get indexed quickly.

Install

Step 1: upload sitemap.php to your forum root.
Step 2: modify template "footer"

Find


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Add Above


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Demo

http://www.bbkz.com/forum/sitemap.php

The most famous travel forum in chinese world - www.bbkz.com (http://www.bbkz.com/forum/)

NGUYENDUCTRUONG
16 Jan 2009, 10:41
good ID :D

Sweeks
16 Jan 2009, 10:45
Installed

Alfa1
16 Jan 2009, 12:06
Works good. Though I would not call it a sitemap, as it does not display a map of your site. Just the a chronological overview of threads

asd_ra7la
16 Jan 2009, 15:15
Installed

Blue91
16 Jan 2009, 16:08
screenshots?

YLP1
16 Jan 2009, 18:28
The first page works but none of the subsequent linked pages do.

I am seeing private admin forum topics on the list ---- are forum permissions used in this mod?

Thanks in advance.

Fungsten
16 Jan 2009, 18:37
The first page works but none of the subsequent linked pages do.

I am seeing private admin forum topics on the list ---- are forum permissions used in this mod?

Thanks in advance.

Until that's answered Tagged for Later.

adhmwagde
16 Jan 2009, 18:39
thanks

SweetHome
16 Jan 2009, 19:03
installed
thx

Brandon Sheley
16 Jan 2009, 19:52
screenshots or demo link please?
I assume it's this
http://www.backpackers.com.tw/forum/sitemap.php
looks like the archive to me, so that might not be it

Alfa1
16 Jan 2009, 20:21
Permissions work fine. This only shows threads that are visible to guests.

nrms®
16 Jan 2009, 20:58
:confused: It's not open any valid page with .../sitemap.php.

And i have a hyperlink like this ''http://www.XXX-XXX.net/www.XXX-XXX.net/sitemap.php''

Can explain more about this Add-on...?

Alfa1
16 Jan 2009, 23:03
Just hardcode the link, by replacing


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Put your forum location instead of example.com/forum

bjhuang
16 Jan 2009, 23:19
The first page works but none of the subsequent linked pages do.

I am seeing private admin forum topics on the list ---- are forum permissions used in this mod?

Thanks in advance.

yes, forum permissions are checked. i guess you read the sitemap when you logged in with an admin account.

tansu
17 Jan 2009, 00:20
I dont have this code in my footer.
I am using a custom template, where can I put this?

<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>

bjhuang
17 Jan 2009, 00:32
I dont have this code in my footer.
I am using a custom template, where can I put this?

<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>

you could put it anywhere you like.

munnakv
17 Jan 2009, 07:52
Hi,

The sitemap.php page works correctly.
When i try to navigate to the second page, it gives 404 error.
http://www.yoursite.com/forum/sitemap?offset=100

Also, please tell me how i can point the "View Full Version" link at the top to http://www.yoursite.com/forum/index.php instead of http://www.yoursite.com/forum

bjhuang
17 Jan 2009, 10:17
Hi,

The sitemap.php page works correctly.
When i try to navigate to the second page, it gives 404 error.
http://www.yoursite.com/forum/sitemap?offset=100

Also, please tell me how i can point the "View Full Version" link at the top to http://www.yoursite.com/forum/index.php instead of http://www.yoursite.com/forum

did you modified sitemap.php? i guess you've changed the value of $script variable at line2 to "sitemap". it should be "sitemap.php".

for the "View Full Version" link:

Find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

metrika
17 Jan 2009, 16:45
Does it work on 3.6.x and 3.7.x ?

crkgb
17 Jan 2009, 17:52
https://www.google.com/webmasters/tools

Unsupported file format
Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.

bjhuang
18 Jan 2009, 03:51
yes, it works on 3.6 and 3.7

and you don't have to submit it to anywhere. it's not in any standard format. it's just a simple page to help spiders crawl your threads.

Wheemer
18 Jan 2009, 06:26
This mod would be a lot better if you could submit it to google

C138 Kaysone
18 Jan 2009, 08:02
my offset is not working... like it wont update the pages or something like that

munnakv
18 Jan 2009, 08:33
Thanks for the reply bjhuang.

did you modified sitemap.php? i guess you've changed the value of $script variable at line2 to "sitemap". it should be "sitemap.php".


I did not modify the second line. It stays as $script = 'sitemap.php';
I changed only the third line to : $count = 2000;

The problem still remains unsolved. :eek:
I even replaced the sitemap.php with the downloaded one, but does not have any effect.
You can have a look at here: http://www.indianjobtalks.com/forum/sitemap.php

(Just to remind, the offset link http://www.indianjobtalks.com/forum/sitemap.php?offset=2000 leads to a pagenot found error.)

The "View Full Version" link works now. Thanks. :cool:

C138 Kaysone
18 Jan 2009, 08:36
Thanks for the reply bjhuang.



I did not modify the second line. It stays as $script = 'sitemap.php';
I changed only the third line to : $count = 2000;

The problem still remains unsolved. :eek:
I even replaced the sitemap.php with the downloaded one, but does not have any effect.
You can have a look at here: http://www.indianjobtalks.com/forum/sitemap.php

(Just to remind, the offset link http://www.indianjobtalks.com/forum/sitemap?offset=2000 leads to a pagenot found error.)

The "View Full Version" link works now. Thanks. :cool:

Does your page loads or it still gives you a 404 error? im trying to figure out what i can do to fix mine as well

http://mytalkcarolina.com/community/sitemap.php

I dont know what is causing the problem for it not to allow going through the pages, only gives me a 404 error

C138 Kaysone
18 Jan 2009, 08:49
Ok now i found the problem & the correction to it, the author only needs to update the php attachment.

when clicking on the page number, it leads you to a 404 error page but as it goes

Before - http://mytalkcarolina.com/community/sitemap?offset=1800 (404 error)

After - http://mytalkcarolina.com/community/sitemap.php?offset=1800 (Will allow to go to next page)

On line 14, just add .php to the variable.

Before
define('SKIP_SESSIONCREATE', 1);
define('DIE_QUIETLY', 1);
define('THIS_SCRIPT', 'sitemap');After
define('SKIP_SESSIONCREATE', 1);
define('DIE_QUIETLY', 1);
define('THIS_SCRIPT', 'sitemap.php');That way you will no longer see the 404 error page :) hope that helps anyone that uses my correction "which is only small, and author :) you may want to update your sitemap.php attachment with my correction so everyone will have it when they install it into their forum root.

munnakv
18 Jan 2009, 15:01
That way you will no longer see the 404 error page hope that helps anyone that uses my correction "which is only small, and author you may want to update your sitemap.php attachment with my correction so everyone will have it when they install it into their forum root.

C138 Kaysone, Thanks. It did the trick. It helps to learn the coding at times. :)

Another suggestion / request to bjhuang the thread owner:
Can we eliminate the page "/forum/sitemap.php?offset=0" appearing in the top navigation list, as it is a duplicate of "/forum/sitemap.php?"

bjhuang
19 Jan 2009, 00:36
C138 Kaysone, Thanks. It did the trick. It helps to learn the coding at times. :)

Another suggestion / request to bjhuang the thread owner:
Can we eliminate the page "/forum/sitemap.php?offset=0" appearing in the top navigation list, as it is a duplicate of "/forum/sitemap.php?"

open sitemap.php and find


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



replace with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

nrms®
19 Jan 2009, 16:56
Just hardcode the link, by replacing


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Put your forum location instead of example.com/forum
@Alfa1, thanks in advance, but after this... continue not open a valid page, simple open a blank page...

Have you other solution...?

John1uk
20 Jan 2009, 11:18
Thanx "installed" :)

Works fine 1st time

munnakv
21 Jan 2009, 16:16
open sitemap.php and find


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



replace with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Perfect. Appreciate your time and help.
Thanks for that bjhuang :)

munna

marshal_ramdev
14 Mar 2009, 13:56
thank you !

Freiknecht
14 Mar 2009, 15:14
get only a white side indicated

Majora
02 Apr 2009, 21:51
how can i rewrite the links to my vbseo thread links?

Markos
02 Apr 2009, 22:46
thanks installed

Mattcch
08 Apr 2009, 14:41
@bjhuang sir
thanks for great works ,
are you a chinese?
and i from hong kong.
it is a very useful mod for bots.

Theater
12 May 2009, 19:55
Worked like a charm. Thank you.

TrevsRevenge
12 Jun 2009, 19:06
Great Idea !!!!!!!!!

but I am also getting a blank page when i point to this link

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

is there a problem because i call it forums instead of forum if so what can I change in the sitemap.php to fix this.

Thanks

matrixc0d3
02 Aug 2009, 19:36
hi how can i rewrite this for vbseo html urls? :confused:

Majora
02 Aug 2009, 19:42
hi how can i rewrite this for vbseo html urls? :confused:

Good question...:confused:

cobaku
01 Nov 2009, 03:18
i also need the same thing
how can i fix the url's so they point vbseo url's

mahendraji
04 Nov 2009, 23:41
Hi,

I followed the step, and can see sitemap is installed and working (seems to be okay)

------------------------------------
Install

Step 1: upload sitemap.php to your forum root.
Step 2: modify template "footer"

------------------------------------
But I am not sure what you meant by Step-2, I am kinda lost here. Can you please help.

Please check my forum www.freerecipeforum.com and my sitemap is www.freerecipeforum.com/sitemap.php

Thanks
Mahendra @ www.freerecipeforum.com

mahendraji
04 Nov 2009, 23:46
Seems like google webmaster tool doesnt accept php format, any suggestion for .xml or .html sitemap please ?

cobaku
10 Nov 2009, 04:44
try vbseo sitemap but it is too hard for u it seems

kuervo
07 Mar 2010, 16:04
exelent men thanks

YISRAEL
07 Mar 2010, 21:26
Nice no more.

CILGINKRAL_
09 Mar 2010, 16:33
How can rewrite the links to my vbseo thread links :(
Marks as ınstallad :)

NAZIA
16 Apr 2010, 11:45
awesome.. one..

Manoel Jśnior
17 Apr 2010, 00:46
How can rewrite the links to my vbseo thread links :( [2]

X_FiLeS
18 Apr 2010, 17:01
Thanks great mod works well see demo http://webcenter.cc/sitemap.php :)

muratcan25
21 Apr 2010, 12:11
Installed
thank you

soft-center
21 Apr 2010, 15:48
thanksssssssssssssss

MichaelDance
01 May 2010, 02:20
thanks mate, i hope spiders love it :) i love the idea btw installed and marked as installed

FitgirlWorld
01 May 2010, 15:40
awesome and so simple!! Installed

Naan-Kadavul
03 Jul 2010, 07:37
Not working :(
http://www.moviejockey.com/forum/sitemap.php

Midohash
22 Feb 2012, 17:37
Excellent ... Installed ... Thank you

www.nofal
14 Sep 2012, 09:02
Good Work