- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2019
04:07 AM
12-10-2019
04:07 AM
Where is the robots.txt configuration info stored in the db???
I've got a script that is about 99% done that clones our production site to a dev site. The dev site will be public, and I don't want Google to crawl it so I want to change the robots.txt config for the dev site. I can create a robots.txt file in the appropriate location but that appears to be overriden by Magento since we have that configured in production.
It doesn't look like there is a command line option to change that setting. But, I assume I can do it through the database. Anyone know where the info is stored?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2019
04:14 AM
12-10-2019
04:14 AM
Re: Where is the robots.txt configuration info stored in the db???
Hello @charles_gibson1
Run the below query to get the robots.txt data:
SELECT * FROM `core_config_data` WHERE `path` LIKE '%design/search_engine_robots/custom_instructions%'
Hope it helps.
---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2019
11:10 PM
12-11-2019
11:10 PM