News:

Wondering if this will always be free?  See why free is better.

Main Menu

Sitemap

Started by SlammedDime, May 12, 2007, 05:43:04 PM

Previous topic - Next topic

SlammedDime

You can manually parse the mod on the mod site under the download links to see the instructions.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Arantor

Pinball Nation: yes, it's just expecting to add French and doesn't find the file - you can ignore that if it's just saying it can't find a language file - if you don't have that language installed.

Paolo Bitta

#1362
Hi, i used to have a lot of links indexed in google with this mod and pretty urls, but yesterday i noticed in webmastertools that just 2 links are now in the index.

I checked the sitemap and I see that no pretty urls are there anymore...

I tryed to re-install both mod (sitemap 1.2.2 and pretty_urls 1.0RC on smf 1.1.11) but this did not help..

any hints?

http://www.gsalcazar.altervista.org/ [nofollow]
http://www.gsalcazar.altervista.org/sitemap.xml [nofollow]




EDIT
I removed the check on the enable setting for pretty urls from Sitemap.php file
if (!empty($modSettings['pretty_enable_filters']) &&  modSettings['pretty_enable_filters'] == 'on')

and the sitemap is back to work.

why should it not be able to recognize the pretty_url engine as ON?!?!  :o

Snogmarr

Ok I am getting this error on install

Parse error: syntax error, unexpected T_STRING in /Sources/ManageSettings.php on line 2507

I check my manage settings and it refers to this

array('check', 'sitemap_xml'),
thta does not make sense

Arantor

Please post the code a few lines either side of that line.

Snogmarr

#1365
global $txt, $scripturl, $context, $settings, $sc, $modSettings;

   $config_vars = array(
         array('check', 'sitemap_xml'),
         array('int', 'sitemap_topic_count'),
         array('int', 'sitemap_cache_ttl'),
         '',
         array('select', 'sitemap_30day_priority', array('1.0' => '1.0', '0.9' => '0.9', '0.8' => '0.8', '0.7' => '0.7', '0.6' => '0.6', '0.5' => '0.5', '0.4' => '0.4', '0.3' => '0.3', '0.2' => '0.2', '0.1' => '0.1', '0.0' => '0.0')),
         array('select', 'sitemap_60day_priority', array('1.0' => '1.0', '0.9' => '0.9', '0.8' => '0.8', '0.7' => '0.7', '0.6' => '0.6', '0.5' => '0.5', '0.4' => '0.4', '0.3' => '0.3', '0.2' => '0.2', '0.1' => '0.1', '0.0' => '0.0')),
         array('select', 'sitemap_90day_priority', array('1.0' => '1.0', '0.9' => '0.9', '0.8' => '0.8', '0.7' => '0.7', '0.6' => '0.6', '0.5' => '0.5', '0.4' => '0.4', '0.3' => '0.3', '0.2' => '0.2', '0.1' => '0.1', '0.0' => '0.0')),
         array('select', 'sitemap_91day_priority', array('1.0' => '1.0', '0.9' => '0.9', '0.8' => '0.8', '0.7' => '0.7', '0.6' => '0.6', '0.5' => '0.5', '0.4' => '0.4', '0.3' => '0.3', '0.2' => '0.2', '0.1' => '0.1', '0.0' => '0.0')),
   );

   if ($return_config)
      return $config_vars;

   $context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=sitemap';
   $context['settings_title'] = $txt['sitemap'];

   // Saving?
   if (isset($_GET['save']))
   {
      checkSession();
      $save_vars = $config_vars;
      saveDBSettings($save_vars);
      redirectexit('action=admin;area=modsettings;sa=sitemap');
   }
   prepareDBSettingContext($config_vars);

Arantor

Hmmm. That looks normal enough.

Please can you attach the whole file for us to look at?

Snogmarr

^^^^^^
attached above?

Arantor

The problem is another mod has damaged the file - a few lines above it, starting at line 2494.

Without seeing the other mods I have no idea what the code is really supposed to look like.

Snogmarr

hmm thats part of the multiforum mod code


Ok need to look at this
Thanks anayway

lav007us

Thanks for your mod. I installed it and managed to make it show at hxxp:indiatraveldeal.org/sitemap.xml [nonactive] however the URLs it shows are not SEO optimized as done by "Pretty URL" mod.

Shows SEO friendly URLs at hxxp:indiatraveldeal.org/sitemap/ [nonactive]
But not at hxxp:indiatraveldeal.org/sitemap.xml [nonactive]

Any Idea what I need to do..?

SAFAD

Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Fotoforofos.com

Quote from: lav007us on February 08, 2010, 08:17:10 AM
Thanks for your mod. I installed it and managed to make it show at http://indiatraveldeal.org/sitemap.xml [nofollow] however the URLs it shows are not SEO optimized as done by "Pretty URL" mod.

Shows SEO friendly URLs at http://indiatraveldeal.org/sitemap/ [nofollow]
But not at http://indiatraveldeal.org/sitemap.xml [nofollow]

Any Idea what I need to do..?

Same problem here (SMF 1.1.11)

http://foro.fotoforofos.com/index.php?action=sitemap [nofollow]
http://foro.fotoforofos.com/index.php?action=sitemap;xml [nofollow]

Paolo Bitta

Quote from: lav007us on February 08, 2010, 08:17:10 AM
Thanks for your mod. I installed it and managed to make it show at http://indiatraveldeal.org/sitemap.xml [nofollow] however the URLs it shows are not SEO optimized as done by "Pretty URL" mod.

Shows SEO friendly URLs at http://indiatraveldeal.org/sitemap/ [nofollow]
But not at http://indiatraveldeal.org/sitemap.xml [nofollow]

Any Idea what I need to do..?

Quote from: Fotoforofos.com on February 09, 2010, 01:38:35 PM
Quote from: lav007us on February 08, 2010, 08:17:10 AM
Thanks for your mod. I installed it and managed to make it show at http://indiatraveldeal.org/sitemap.xml [nofollow] however the URLs it shows are not SEO optimized as done by "Pretty URL" mod.

Shows SEO friendly URLs at http://indiatraveldeal.org/sitemap/ [nofollow]
But not at http://indiatraveldeal.org/sitemap.xml [nofollow]

Any Idea what I need to do..?

Same problem here (SMF 1.1.11)

http://foro.fotoforofos.com/index.php?action=sitemap [nofollow]
http://foro.fotoforofos.com/index.php?action=sitemap;xml [nofollow]

Same problem for me,
I resolved in this way:

Quote from: Paolo Bitta on February 05, 2010, 04:46:48 AM

EDIT
I removed the check on the enable setting for pretty urls from Sitemap.php file
if (!empty($modSettings['pretty_enable_filters']) &&  modSettings['pretty_enable_filters'] == 'on')

and the sitemap is back to work.

why should it not be able to recognize the pretty_url engine as ON?!?!  :o

Arantor

Please for the love of <insert deity> will people realise Pretty URLs confers NO SEO BENEFIT WHATSOEVER.

Paolo Bitta

Quote from: Arantor on February 10, 2010, 04:18:42 AM
Please for the love of <insert deity> will people realise Pretty URLs confers NO SEO BENEFIT WHATSOEVER.

and so.......

Arantor

Oh, I was referring to a comment earlier about it not working with Pretty URLs "SEO".

lav007us

Quote from: Paolo Bitta on February 05, 2010, 04:46:48 AM

EDIT
I removed the check on the enable setting for pretty urls from Sitemap.php file
if (!empty($modSettings['pretty_enable_filters']) &&  modSettings['pretty_enable_filters'] == 'on')

and the sitemap is back to work.

why should it not be able to recognize the pretty_url engine as ON?!?!  :o
[/quote]

Thanks, it worked.

** sitemap.php file is located under "Sources" folder

abcd789

hiee i have installed sitemap... i m unable to see the sitemap link in the admin panel of configuration but i can see the link in the footer... whats the problem frineds.. if i installed any mod also it is not coming in the left panel.. the text is in hide state... and i wanna put this link as  /forum/index.php?action=sitemap

to forum/sitemap.xml how to do like this.. thanx in advance

Snogmarr

Arantor
Nice to see you back and doing what you do best,, helping us thicko's resolve problems.

I know you never went But welcome back propper anyway.

Advertisement: