Whole website no-index, no-followDeploy Magento 2 website on Staging server and ComposerHow to check which theme is being used in a magento based website.Transfer multi-website content between staging and productionMagento2 - Multistore/domain export one website import in fresh installI want to enable webcam to take picture to my websiteMagento 2 website is not running in local after moving from host. System getting hanged when running the websiteHow to export Magento 2 whole website from live to local?Magento 2.2.2 : set different design for multi website?Hide price from form of add product in BO Magento 2Magento 2 How can I stop Google to index my product image and details?
Why, precisely, is argon used in neutrino experiments?
How do you say 头大 in English?
Unexpected indention in bibliography items (beamer)
Failed to fetch jessie backports repository
Can I boil off chlorine? Does it evaporate quickly at high temperatures?
How to escape string to filename? It is in backup a file append date
Go Pregnant or Go Home
when is out of tune ok?
QGIS Polygon Selection
Can I Retrieve Email Addresses from BCC?
How will losing mobility of one hand affect my career as a programmer?
Why Were Madagascar and New Zealand Discovered So Late?
Nautlius: add mouse right-click action to compute MD5 sum
Is exact Kanji stroke length important?
How many times can American Tourist re-enter UK in same 6 month period?
Italian words for tools
Trouble understanding the speech of overseas colleagues
First index is not integer using foreach loop from 0
Anatomically Correct Strange Women In Ponds Distributing Swords
Valid Badminton Score?
India just shot down a satellite from the ground. At what altitude range is the resulting debris field?
Personal Teleportation as a Weapon
Customer Requests (Sometimes) Drive Me Bonkers!
How do I go from 300 unfinished/half written blog posts, to published posts?
Whole website no-index, no-follow
Deploy Magento 2 website on Staging server and ComposerHow to check which theme is being used in a magento based website.Transfer multi-website content between staging and productionMagento2 - Multistore/domain export one website import in fresh installI want to enable webcam to take picture to my websiteMagento 2 website is not running in local after moving from host. System getting hanged when running the websiteHow to export Magento 2 whole website from live to local?Magento 2.2.2 : set different design for multi website?Hide price from form of add product in BO Magento 2Magento 2 How can I stop Google to index my product image and details?
I am using Magento 2, and I have staging server, I don't want any crawler or bots to index my staging server.
So, I need whole website to be no-index, no follow. Is it possible in Magento?
magento2
add a comment |
I am using Magento 2, and I have staging server, I don't want any crawler or bots to index my staging server.
So, I need whole website to be no-index, no follow. Is it possible in Magento?
magento2
1
add this in layout<head> <meta name="robots" content="NOINDEX,NOFOLLOW"/> </head>
– Rakesh Donga
12 hours ago
Thanks Rakesh Donga
– Asim Ali
11 hours ago
add a comment |
I am using Magento 2, and I have staging server, I don't want any crawler or bots to index my staging server.
So, I need whole website to be no-index, no follow. Is it possible in Magento?
magento2
I am using Magento 2, and I have staging server, I don't want any crawler or bots to index my staging server.
So, I need whole website to be no-index, no follow. Is it possible in Magento?
magento2
magento2
asked 12 hours ago
Asim AliAsim Ali
779
779
1
add this in layout<head> <meta name="robots" content="NOINDEX,NOFOLLOW"/> </head>
– Rakesh Donga
12 hours ago
Thanks Rakesh Donga
– Asim Ali
11 hours ago
add a comment |
1
add this in layout<head> <meta name="robots" content="NOINDEX,NOFOLLOW"/> </head>
– Rakesh Donga
12 hours ago
Thanks Rakesh Donga
– Asim Ali
11 hours ago
1
1
add this in layout
<head> <meta name="robots" content="NOINDEX,NOFOLLOW"/> </head>– Rakesh Donga
12 hours ago
add this in layout
<head> <meta name="robots" content="NOINDEX,NOFOLLOW"/> </head>– Rakesh Donga
12 hours ago
Thanks Rakesh Donga
– Asim Ali
11 hours ago
Thanks Rakesh Donga
– Asim Ali
11 hours ago
add a comment |
2 Answers
2
active
oldest
votes
Go to configuration
Content -> Design -> Configuration
Edit Global configuration
In Search Engine Robots tab, you can set Default Robots value to "Noindex, Nofollow"
In addition, create file robots.txt in root and pub/ directory. File content would be:
User-Agent: *
Disallow: /
Thanks Shoaib Munir
– Asim Ali
11 hours ago
add a comment |
You do not want to remove the tag from the code as this is a back-end setting. You can change the setting by logging in to your back-office then go to
Content -> Design -> Configuration
then click on the correct storeview. Under the tab Search Engine Robots you find the option
Thanks Rathod..
– Asim Ali
11 hours ago
working or not ?
– Ronak Rathod
11 hours ago
Yes working, but adding robots.txt is also a good solution. I cannot mark two answer correct, otherwise I would do that. +1
– Asim Ali
11 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267581%2fwhole-website-no-index-no-follow%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Go to configuration
Content -> Design -> Configuration
Edit Global configuration
In Search Engine Robots tab, you can set Default Robots value to "Noindex, Nofollow"
In addition, create file robots.txt in root and pub/ directory. File content would be:
User-Agent: *
Disallow: /
Thanks Shoaib Munir
– Asim Ali
11 hours ago
add a comment |
Go to configuration
Content -> Design -> Configuration
Edit Global configuration
In Search Engine Robots tab, you can set Default Robots value to "Noindex, Nofollow"
In addition, create file robots.txt in root and pub/ directory. File content would be:
User-Agent: *
Disallow: /
Thanks Shoaib Munir
– Asim Ali
11 hours ago
add a comment |
Go to configuration
Content -> Design -> Configuration
Edit Global configuration
In Search Engine Robots tab, you can set Default Robots value to "Noindex, Nofollow"
In addition, create file robots.txt in root and pub/ directory. File content would be:
User-Agent: *
Disallow: /
Go to configuration
Content -> Design -> Configuration
Edit Global configuration
In Search Engine Robots tab, you can set Default Robots value to "Noindex, Nofollow"
In addition, create file robots.txt in root and pub/ directory. File content would be:
User-Agent: *
Disallow: /
answered 12 hours ago
Shoaib MunirShoaib Munir
2,2771828
2,2771828
Thanks Shoaib Munir
– Asim Ali
11 hours ago
add a comment |
Thanks Shoaib Munir
– Asim Ali
11 hours ago
Thanks Shoaib Munir
– Asim Ali
11 hours ago
Thanks Shoaib Munir
– Asim Ali
11 hours ago
add a comment |
You do not want to remove the tag from the code as this is a back-end setting. You can change the setting by logging in to your back-office then go to
Content -> Design -> Configuration
then click on the correct storeview. Under the tab Search Engine Robots you find the option
Thanks Rathod..
– Asim Ali
11 hours ago
working or not ?
– Ronak Rathod
11 hours ago
Yes working, but adding robots.txt is also a good solution. I cannot mark two answer correct, otherwise I would do that. +1
– Asim Ali
11 hours ago
add a comment |
You do not want to remove the tag from the code as this is a back-end setting. You can change the setting by logging in to your back-office then go to
Content -> Design -> Configuration
then click on the correct storeview. Under the tab Search Engine Robots you find the option
Thanks Rathod..
– Asim Ali
11 hours ago
working or not ?
– Ronak Rathod
11 hours ago
Yes working, but adding robots.txt is also a good solution. I cannot mark two answer correct, otherwise I would do that. +1
– Asim Ali
11 hours ago
add a comment |
You do not want to remove the tag from the code as this is a back-end setting. You can change the setting by logging in to your back-office then go to
Content -> Design -> Configuration
then click on the correct storeview. Under the tab Search Engine Robots you find the option
You do not want to remove the tag from the code as this is a back-end setting. You can change the setting by logging in to your back-office then go to
Content -> Design -> Configuration
then click on the correct storeview. Under the tab Search Engine Robots you find the option
answered 12 hours ago
Ronak RathodRonak Rathod
697112
697112
Thanks Rathod..
– Asim Ali
11 hours ago
working or not ?
– Ronak Rathod
11 hours ago
Yes working, but adding robots.txt is also a good solution. I cannot mark two answer correct, otherwise I would do that. +1
– Asim Ali
11 hours ago
add a comment |
Thanks Rathod..
– Asim Ali
11 hours ago
working or not ?
– Ronak Rathod
11 hours ago
Yes working, but adding robots.txt is also a good solution. I cannot mark two answer correct, otherwise I would do that. +1
– Asim Ali
11 hours ago
Thanks Rathod..
– Asim Ali
11 hours ago
Thanks Rathod..
– Asim Ali
11 hours ago
working or not ?
– Ronak Rathod
11 hours ago
working or not ?
– Ronak Rathod
11 hours ago
Yes working, but adding robots.txt is also a good solution. I cannot mark two answer correct, otherwise I would do that. +1
– Asim Ali
11 hours ago
Yes working, but adding robots.txt is also a good solution. I cannot mark two answer correct, otherwise I would do that. +1
– Asim Ali
11 hours ago
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267581%2fwhole-website-no-index-no-follow%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
add this in layout
<head> <meta name="robots" content="NOINDEX,NOFOLLOW"/> </head>– Rakesh Donga
12 hours ago
Thanks Rakesh Donga
– Asim Ali
11 hours ago