Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6016 Widoki

When you have an Odoo website and you want to add Google softwares such as “Shopping feed Optimization” or Google Ads, Google might need to crawl all the website’s pages. An error can then occur with the default configuration of the robot.txt file in Odoo. This situation happened in v13, it might be fixed with the next versions.

Awatar
Odrzuć

okay got it. Then how can i enable to crawl for all the crawlers other than Google?

Autor Najlepsza odpowiedź

Here is how to solve this problem.

We have to modify the current robot.txt file directly in Odoo.

To do so, activate the developer mode.

Then in general settings, go in Technical, then “Views” under the “User interface” tab.
Search for a view named “robots” and modify the architecture.

By default you have the following content

“User-agent: *”

We are going to erase this line and add the following ones:

“User-agent: Googlebot
Disallow:
User-agent: Googlebot-image
Disallow:”

Save the changes and now Google should be able to access all your website’s pages.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 21
5168
0
sie 24
1362
1
sty 23
3440
1
paź 21
2920
2
cze 20
3949