@@ -81,6 +81,19 @@ Enable Debug Mode
81
81
: While saving records in TYPO3 backend a flash message with the preview URL
82
82
of modified page will be shown.
83
83
84
+ ### Host API Key file
85
+
86
+ Create a file named ` [API key].txt ` with your API key as content and move it
87
+ into your document root directory of your website server.
88
+
89
+ #### Example
90
+
91
+ If you chose ` abc-ABC-123 ` as your API key you have to create a file named
92
+ ` abc-ABC-123.txt ` and set ` abc-ABC-123 ` as content of that file. Upload file
93
+ ` abc-ABC-123.txt ` into the ` /var/www/my-typo3-page/public ` folder. Open
94
+ ` https://example.com/abc-ABC-123.txt ` to make sure the file is public
95
+ available and its content is ` abc-ABC-123 ` .
96
+
84
97
### Task
85
98
86
99
You need TYPO3 system extension ` scheduler ` .
@@ -128,8 +141,8 @@ The IndexNow provider will use your API key and request the file:
128
141
[API key].txt
129
142
```
130
143
131
- with API key as content from your server. If it does not exist, validation fails
132
- and search engines will provide updated information much later.
144
+ with API key as content from your server. If it does not exist, validation
145
+ fails and search engines will provide updated information much later.
133
146
134
147
### I have changed content, but there is no record in ` tx_indexnow_stack `
135
148
@@ -143,6 +156,39 @@ Check logs for any problems.
143
156
Foreign extensions can hook into extension ` indexnow ` and prevent informing
144
157
IndexNow under various circumstances.
145
158
159
+ ### How can I test, if IndexNow works as expected?
160
+
161
+ In documentation of [ Bing IndexNow getting started] ( https://www.bing.com/indexnow/getstarted ) I found following information:
162
+
163
+ Use [ Bing Webmaster Tools] ( https://www.bing.com/webmasters ) to verify if
164
+ your URLs are received by search engines.
165
+
166
+ ## For developers
167
+
168
+ To prevent pages to be sent to IndexNow you can use event ` ModifyPageUidEvent ` .
169
+
170
+ Register your own EventListener:
171
+
172
+ ``` yaml
173
+ MyVendor\MyExtension\EventListener\DoSomethingEventListener :
174
+ tags :
175
+ - name : event.listener
176
+ event : JWeiland\IndexNow\Event\ModifyPageUidEvent
177
+ ` ` `
178
+
179
+ Set page UID to ` 0` in event class:
180
+
181
+ ` ` ` php
182
+ $modifyPageUidEvent->setPageUid(0);
183
+ ` ` `
184
+
185
+ This will prevent IndexNow to be informed.
186
+
187
+ # # ToDo
188
+
189
+ There is a possibility to send ~10.000 update links in just one request. That
190
+ would be much better than sending each URL one by one.
191
+
146
192
<!-- MARKDOWN LINKS & IMAGES -->
147
193
148
194
[extension-build-shield] : https://poser.pugx.org/jweiland/indexnow/v/stable.svg?style=for-the-badge
0 commit comments