Enkidu Posted November 26, 2009 Posted November 26, 2009 [quote name='stoo2000' date='26 November 2009 - 12:26 PM' timestamp='1259238389' post='1882593'] The task uses built in IP.B functions to come up with the FURL, do you have any other SEO mods installed ? No I don't have any :unsure:
Enkidu Posted November 26, 2009 Posted November 26, 2009 looking at topicsitemap.xml I can see that the listed URLs has this format:<?xml version="1.0" encoding="utf-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://tabee3i.com/index.php?showtopic=1882</loc> <lastmod>2009-11-25T22:53:38+00:00</lastmod> <changefreq>hourly</changefreq> <priority>0.5</priority> </url> <url> <loc>http://tabee3i.com/index.php?showtopic=1881</loc> <lastmod>2009-11-25T22:03:06+00:00</lastmod> <changefreq>daily</changefreq> <priority>0.5</priority> </url> <url>
stoo2000 Posted November 26, 2009 Author Posted November 26, 2009 Hmm, I suspect then it's something to do with the language in the furls..... Leave it with me, I'll have a look
stoo2000 Posted November 26, 2009 Author Posted November 26, 2009 Just as a quick note, your forumsitemap.xml.gz shows the old style urls, and the following code is used for generating the urls.ipsRegistry::getClass('output')->buildSEOUrl( $this->settings['board_url'] . '/index.php?showtopic=' . $r['tid'], 'none', $r['title_seo'], 'showtopic' )
Enkidu Posted November 26, 2009 Posted November 26, 2009 [quote name='stoo2000' date='26 November 2009 - 12:42 PM' timestamp='1259239369' post='1882599'] Just as a quick note, your forumsitemap.xml.gz shows the old style urls, and the following code is used for generating the urls. is there a hope? :unsure:ipsRegistry::getClass('output')->buildSEOUrl( $this->settings['board_url'] . '/index.php?showtopic=' . $r['tid'], 'none', $r['title_seo'], 'showtopic' )
stoo2000 Posted November 26, 2009 Author Posted November 26, 2009 There's always a hope :) If IP.Board can handle the language in FURLS, then the task should be able to, since it uses internal functions. I'll update the thread if I have any updated for you.
Enkidu Posted November 26, 2009 Posted November 26, 2009 [quote name='stoo2000' date='26 November 2009 - 12:56 PM' timestamp='1259240185' post='1882605'] There's always a hope :) If IP.Board can handle the language in FURLS, then the task should be able to, since it uses internal functions. I'll update the thread if I have any updated for you. great, thank you :thumbsup:
AlexJ Posted November 26, 2009 Posted November 26, 2009 Does that mean atm we should remove site map? I just noticed its same on our forum too.
stoo2000 Posted November 26, 2009 Author Posted November 26, 2009 [quote name='AlexJ' date='26 November 2009 - 09:22 PM' timestamp='1259270525' post='1882716'] Does that mean atm we should remove site map? I just noticed its same on our forum too. Could you PM me a link to your forum please.
AlexJ Posted November 26, 2009 Posted November 26, 2009 [quote name='stoo2000' date='26 November 2009 - 09:34 PM' timestamp='1259271260' post='1882718'] Could you PM me a link to your forum please. Done. :) Thank you.
stoo2000 Posted November 26, 2009 Author Posted November 26, 2009 It's looking like it is a bug in IPB 3.0.4, I've filed a bug report in the tracker (http://community.invisionpower.com/tracker/issue-19824-buildseourl-broken-in-tasks/). It may be an idea to disable the task running automatically for now and run it manually every couple of days. Not ideal I know.
AlexJ Posted November 27, 2009 Posted November 27, 2009 Noob question. How do you disable auto task and then run manually?
stoo2000 Posted November 27, 2009 Author Posted November 27, 2009 Click the arrow on the right, goto edit task, Change Enable Task to No. Then click the blue circle to run the task.
AlexJ Posted November 27, 2009 Posted November 27, 2009 Then it says enable the task before running it.
AlexJ Posted November 27, 2009 Posted November 27, 2009 Thanks. Generates the sitemap now as it should. :)
stoo2000 Posted November 28, 2009 Author Posted November 28, 2009 Invision Power Board 3.0.4 Bugfix To fix the above mentioned bug in 3.0.4 where FURLS are not generated automatically, follow these instructions. In admin/sources/base/ipsRegistry.php in function _fUrlInit() remove the following 1190 if ( IPS_IS_TASK === TRUE || IPS_IS_AJAX === TRUE ) 1191 { 1192 return; 1193 }
Ashish Mohta Posted December 9, 2009 Posted December 9, 2009 Hi Stoo, I am using it a forum which has not been launched yet. I have followed the instruction complete. My Forum uses 3.0.5 and the latest SItemap generator of yours. Problem : Though the task runs successfully and sitemaps timestap changes the content is really not changing. It still contains formats like http://localhost/ipb2/topicsitemap.xml which you should have added it initially when developing it. All the Sitemap files are chmod 777. Can you please suggest. Regards, Ashish
stoo2000 Posted December 9, 2009 Author Posted December 9, 2009 Hi Ashish, by default the data is stored in the *sitemap.xml.gz files, have a look in those for the data :)
Ashish Mohta Posted December 9, 2009 Posted December 9, 2009 Hey Stoo, I was about to upate you. I just saw the time stamp is not changing only for XML file and yes the data is there in .xml.gz files. Now My question is if its not changing it why is it there? Will it be updating XML files If I disable gzip mode ? Secondly Why not update both ? Thanks for the update. Regards, Ashish
stoo2000 Posted December 9, 2009 Author Posted December 9, 2009 Hi Ashish. Both sets of files (.xml & .xml.gz) are included to make it easier to setup. If you disable GZIP the .xml files will be used, if you have GZIP enabled, .xml.gz will be used, if you are using GZIP you can remove the .xml files if you wish. Only one set of files need updating, ideally that would be the .xml.gz ones since they will use less bandwidth when search engines are reading them. the .xml files are used if GZIP isn't supported by the web server. Stuart
Ashish Mohta Posted December 9, 2009 Posted December 9, 2009 Hmm You are right. Got the idea now. I would suggest you to add this thing into the Instruction file. And one more question Do I need to chmod sitemap.php to 777 ? because in Chmod section in pdf you said CHMOD the above files to 0777.
stoo2000 Posted December 9, 2009 Author Posted December 9, 2009 Good catch, You do not have to chmod sitemap.php. I'll update that in future documentation.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.