Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help needed to set GSDONOTPING
#1
I'm having trouble getting my head around the logic of define('GSDONOTPING', 1); in gsconfig.php. I'm probably not the first with this problem, but I can't find anything definitive guidance on the forum.

Which way 'round does it work please and how should it be set to ping search engines.

Incidentally where can I see which search engines are pinged?
Reply
#2
(2013-08-02, 13:22:50)davetest Wrote: I'm having trouble getting my head around the logic of define('GSDONOTPING', 1); in gsconfig.php. I'm probably not the first with this problem, but I can't find anything definitive guidance on the forum.

Which way 'round does it work please and how should it be set to ping search engines.

Incidentally where can I see which search engines are pinged?

here in the WIKI is the answer:
Quote:GSDONOTPING enabling this disables the auto-ping of search engines when generating a sitemap

# Ping search engines upon sitemap generation?
#define('GSDONOTPING', 1);

Affected search engines are google.com, search.yahooapis.com, bing.com and submissions.ask.com

http://get-simple.info/wiki/config:gsconfig

Normally, "1" means active or True or enabled, "0" means inactive or False or disabled

My strategy to understand the settings:
I say the word loudly:

GS DO NOT PING , so when the argument is "1" , it means YES I DO NOT PING ;=)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
(2013-08-02, 13:22:50)davetest Wrote: I'm having trouble getting my head around the logic of define('GSDONOTPING', 1); in gsconfig.php. I'm probably not the first with this problem, but I can't find anything definitive guidance on the forum.

Which way 'round does it work please and how should it be set to ping search engines.

Disable GSDONOTPING to set it to ping search engines. Change this:
Code:
define('GSDONOTPING', 1);
by this:
Code:
#define('GSDONOTPING', 1);

(See: http://get-simple.info/wiki/config:gsconfig )

(2013-08-02, 13:22:50)davetest Wrote: Incidentally where can I see which search engines are pinged?

Google, Yahoo, Bing and Ask - function pingGoogleSitemaps in admin/inc/template_functions.php

[edit] Connie and I were replying at the same time :-) Well, both ways of disabling GSDONOTPING are valid.
Reply
#4
Thanks guys, that helps, I was getting my knickers in a twist with double negatives :-)
Is there any way to know that it actually works when activated?
Reply
#5
(2013-08-02, 19:52:20)davetest Wrote: Is there any way to know that it actually works when activated?

If you want it to not ping, set it to "notping"
The likelihood that it will not ping after you changed the option in gsconfig.php is higher than not changing the option at all ;=)

if you do not trust it, you can
  • study the sourcecode, I am sure there is an "if -else-condition" on that
  • or ask your Homeland Security or PRISM, for sure they will know as they control all digital communication

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#6
I guess we should add something to notice ping success, and also display the ping is enabled.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#7
Shawn,

I support this 100%!

It should be part of a general overwhaul of the options, it would be better to have the gsoptions.php with very very basic options and after installing a big message that the options should be controlled and accepted to guarantee that every installer took note of that necessary feature.

There is enough space in admin for an option panel
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 1 Guest(s)