Skip to forum content
FluxBB.org Forums
Unfortunately no one can be told what FluxBB is - you have to see it for yourself.
You are not logged in. Please login or register.
Active topics Unanswered topics
Pages: 1
You must login or register to post a reply
Posts [ 14 ]
- From: Scotland
- Registered: 2008-05-11
- Posts: 1,590
Topic: Site Map
I am posting this here rather than in my other extension thread since this is more of a alpha/beta release.
I have never used a site map before so am iffy on what exactly it should contain. This has also only undergone minimal testing, and is still missing a few features, still has a couple loose ends that should be finished and a few bugs.
Edit: Removed link to avoid people downloading an old beta version. Check here for the current release.
I am mainly posting this to see if anyone with a slightly better knowledge of site maps can let me know what they think.
Last edited by Reines (2008-06-27 23:35:56)
- Registered: 2008-04-27
- Posts: 2,614
Re: Site Map
robots.txt isn't required, although you can use it: personally, I submit my sitemaps to the search engines directly.
- From: Scotland
- Registered: 2008-05-11
- Posts: 1,590
Re: Site Map
One possible problem I have ran into:
When using the folder based rewrite scheme the sitemap is located at domain.com/sitemap/ but would that not mean that only urls within domain.com/sitemap/ are allowed? In other words none?
Is there a better way to handle that, or will I need to just ignore the rewrite scheme and link to the "real" url (/misc.php?action=sitemap)?
- From: Paris, France
- Registered: 2008-04-30
- Posts: 529
Re: Site Map
Yup, you need to link to something forum-root level and while at it, meaningful 
/sitemap-xml for example
- From: Scotland
- Registered: 2008-05-11
- Posts: 1,590
Re: Site Map
I decided just to not rewrite requests to it, since it's pretty much only bots that will be reading it anyway, and just left it as misc.php?action=sitemap. Thanks
- From: Leuven, Belgium
- Registered: 2008-04-30
- Posts: 1,131
Re: Site Map
You could always rewrite it as sitemap.xml.
Ben
SVN repository for my extensions - The thread
Quickmarks 0.5
“Question: How does a large software project get to be one year late? Answer: One day at a time!” - Fred Brooks
- From: South Yorkshire, England
- Registered: 2008-05-06
- Posts: 955
Re: Site Map
Reines wrote:I decided just to not rewrite requests to it, since it's pretty much only bots that will be reading it anyway, and just left it as misc.php?action=sitemap.
Hypocrite.
What happened to consistency? 
Last edited by MattF (2008-06-28 15:25:44)
Screw the chavs and God save the Queen!
- From: Scotland
- Registered: 2008-05-11
- Posts: 1,590
Re: Site Map
elbekko wrote:You could always rewrite it as sitemap.xml.
Could do, dunno if that would be better or if having none at all is, since we can't have the "right" rules.
MattF wrote:Hypocrite.
What happened to consistency? 
Not much option if being consistent means it doesn't work. 
- From: Leuven, Belgium
- Registered: 2008-04-30
- Posts: 1,131
Re: Site Map
You could also make a robots.txt file through rewriting 
Shouldn't be too hard to do, and have an admin area where you can directly edit it. Extensions would then be able to add stuff to it if necessary.
Ben
SVN repository for my extensions - The thread
Quickmarks 0.5
“Question: How does a large software project get to be one year late? Answer: One day at a time!” - Fred Brooks
- Registered: 2008-05-11
- Posts: 121
Re: Site Map
lol work on this! i need it for google and yahoo
- From: Scotland
- Registered: 2008-05-11
- Posts: 1,590
Re: Site Map
raptrex wrote:lol work on this! i need it for google and yahoo
I have released version 1.1.0 here. If you have url-rewriting enabled it will create sitemap.xml and robots.txt (ty for the idea elbekko), otherwise the sitemap will be located at misc.php?action=sitemap.
Let me know if you run into any problems, or anything needs fixing.
- Registered: 2008-05-11
- Posts: 121
Re: Site Map
http://diablo3community.com/robots.txt
lol is this suppose to be displayed?
<b>Notice</b>: Undefined index: sitemap in <b>/home/raptrex/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code</b> on line <b>274</b><br />
Sitemap: http://diablo3community.com/
btw im using folder based fancy urls
mysitemap
<sitemapindex xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_main in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>220</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_userlist in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>226</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_users in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>230</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_forums in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>235</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_forum in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>254</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_forum in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>254</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_forum in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>254</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_forum in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>254</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_forum in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>254</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
−
<sitemap>
<br/>
<b>Notice</b>
: Undefined index: sitemap_forum in
−
<b>
/home/user/domains/diablo3community.com/public_html/misc.php(594) : eval()'d code
</b>
on line
<b>254</b>
<br/>
<loc>http://diablo3community.com/</loc>
</sitemap>
</sitemapindex>
http://diablo3community.com/sitemap.xml
Last edited by raptrex (2008-06-29 03:44:33)
- From: Scotland
- Registered: 2008-05-11
- Posts: 1,590
Re: Site Map
What SVN version are you using?
- Registered: 2008-05-11
- Posts: 121
Re: Site Map
oh im using 1.3 beta 2...
k it works on the latest svn
Last edited by raptrex (2008-06-29 06:24:51)
Topic options
RSS topic feed
Pages: 1
You must login or register to post a reply