How to remove indexed URLs from Subdomain without Encountering 404 errors in Google
I have a domain (ex. test.com) on which wordpress is installed. I also have a another wordpress installed on a subdomain(ex. test.com/blabla). Blabla contains many indexed pages but now I want to remove them completely and delete the wordpress on the blabla subdomain.
How can I achieve that? Keep in mind that I don't want anything to change in test.com
I would really appreciate your help,
Thank you in advance.
wordpress indexing
add a comment |
I have a domain (ex. test.com) on which wordpress is installed. I also have a another wordpress installed on a subdomain(ex. test.com/blabla). Blabla contains many indexed pages but now I want to remove them completely and delete the wordpress on the blabla subdomain.
How can I achieve that? Keep in mind that I don't want anything to change in test.com
I would really appreciate your help,
Thank you in advance.
wordpress indexing
Add attempt you have made to solve your problem. From there we can help you figure out what to do differently to get this working the way you would like
– Rbar
Nov 20 '18 at 8:06
add a comment |
I have a domain (ex. test.com) on which wordpress is installed. I also have a another wordpress installed on a subdomain(ex. test.com/blabla). Blabla contains many indexed pages but now I want to remove them completely and delete the wordpress on the blabla subdomain.
How can I achieve that? Keep in mind that I don't want anything to change in test.com
I would really appreciate your help,
Thank you in advance.
wordpress indexing
I have a domain (ex. test.com) on which wordpress is installed. I also have a another wordpress installed on a subdomain(ex. test.com/blabla). Blabla contains many indexed pages but now I want to remove them completely and delete the wordpress on the blabla subdomain.
How can I achieve that? Keep in mind that I don't want anything to change in test.com
I would really appreciate your help,
Thank you in advance.
wordpress indexing
wordpress indexing
asked Nov 20 '18 at 8:00


Foroogh RazaviForoogh Razavi
31
31
Add attempt you have made to solve your problem. From there we can help you figure out what to do differently to get this working the way you would like
– Rbar
Nov 20 '18 at 8:06
add a comment |
Add attempt you have made to solve your problem. From there we can help you figure out what to do differently to get this working the way you would like
– Rbar
Nov 20 '18 at 8:06
Add attempt you have made to solve your problem. From there we can help you figure out what to do differently to get this working the way you would like
– Rbar
Nov 20 '18 at 8:06
Add attempt you have made to solve your problem. From there we can help you figure out what to do differently to get this working the way you would like
– Rbar
Nov 20 '18 at 8:06
add a comment |
1 Answer
1
active
oldest
votes
The .htaccess
file can help you to achieve that. Please invest some time to dive into that.
You have to use the
Redirect 301
for your subdomain to redirect to the new page or any other page if you want to.
Make sure, that your robots.txt
allows Google to access the old page directory.
When Google is able to track that the old page has been removed, it will no longer appear as search result.
Then you no longer need to rediect.
Thank you very much. I'm still a little fuzzy about this part: "Make sure, that your robots.txt allows Google to access the old page directory." I don't undestand as the old page is already indexed. Can you elaborate that. I'm sorry. I don't have a lot of experience.
– Foroogh Razavi
Nov 20 '18 at 8:40
p.s. I don't want to redirect to anything. I want to remove this subdomain completely.
– Foroogh Razavi
Nov 20 '18 at 8:49
When the old page is indexed via robots.txt don t worry about that. Some people just try to stop pages from appearing in search results by banning it from the robots.txt - that will not work.
– f.overflow
Nov 20 '18 at 8:54
Google is caching your site. So for now the old subdomain will appear - even if it is not existing. It will take time, that Google again crawles your pages and gets informed, that the subdomain is no longer existing. For the time it is still in the search results but not existing you should use the redirect that users do not enter any 404.
– f.overflow
Nov 20 '18 at 8:56
Thanks a lot. It was very helpful
– Foroogh Razavi
Nov 20 '18 at 9:51
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2fstackoverflow.com%2fquestions%2f53388570%2fhow-to-remove-indexed-urls-from-subdomain-without-encountering-404-errors-in-goo%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The .htaccess
file can help you to achieve that. Please invest some time to dive into that.
You have to use the
Redirect 301
for your subdomain to redirect to the new page or any other page if you want to.
Make sure, that your robots.txt
allows Google to access the old page directory.
When Google is able to track that the old page has been removed, it will no longer appear as search result.
Then you no longer need to rediect.
Thank you very much. I'm still a little fuzzy about this part: "Make sure, that your robots.txt allows Google to access the old page directory." I don't undestand as the old page is already indexed. Can you elaborate that. I'm sorry. I don't have a lot of experience.
– Foroogh Razavi
Nov 20 '18 at 8:40
p.s. I don't want to redirect to anything. I want to remove this subdomain completely.
– Foroogh Razavi
Nov 20 '18 at 8:49
When the old page is indexed via robots.txt don t worry about that. Some people just try to stop pages from appearing in search results by banning it from the robots.txt - that will not work.
– f.overflow
Nov 20 '18 at 8:54
Google is caching your site. So for now the old subdomain will appear - even if it is not existing. It will take time, that Google again crawles your pages and gets informed, that the subdomain is no longer existing. For the time it is still in the search results but not existing you should use the redirect that users do not enter any 404.
– f.overflow
Nov 20 '18 at 8:56
Thanks a lot. It was very helpful
– Foroogh Razavi
Nov 20 '18 at 9:51
add a comment |
The .htaccess
file can help you to achieve that. Please invest some time to dive into that.
You have to use the
Redirect 301
for your subdomain to redirect to the new page or any other page if you want to.
Make sure, that your robots.txt
allows Google to access the old page directory.
When Google is able to track that the old page has been removed, it will no longer appear as search result.
Then you no longer need to rediect.
Thank you very much. I'm still a little fuzzy about this part: "Make sure, that your robots.txt allows Google to access the old page directory." I don't undestand as the old page is already indexed. Can you elaborate that. I'm sorry. I don't have a lot of experience.
– Foroogh Razavi
Nov 20 '18 at 8:40
p.s. I don't want to redirect to anything. I want to remove this subdomain completely.
– Foroogh Razavi
Nov 20 '18 at 8:49
When the old page is indexed via robots.txt don t worry about that. Some people just try to stop pages from appearing in search results by banning it from the robots.txt - that will not work.
– f.overflow
Nov 20 '18 at 8:54
Google is caching your site. So for now the old subdomain will appear - even if it is not existing. It will take time, that Google again crawles your pages and gets informed, that the subdomain is no longer existing. For the time it is still in the search results but not existing you should use the redirect that users do not enter any 404.
– f.overflow
Nov 20 '18 at 8:56
Thanks a lot. It was very helpful
– Foroogh Razavi
Nov 20 '18 at 9:51
add a comment |
The .htaccess
file can help you to achieve that. Please invest some time to dive into that.
You have to use the
Redirect 301
for your subdomain to redirect to the new page or any other page if you want to.
Make sure, that your robots.txt
allows Google to access the old page directory.
When Google is able to track that the old page has been removed, it will no longer appear as search result.
Then you no longer need to rediect.
The .htaccess
file can help you to achieve that. Please invest some time to dive into that.
You have to use the
Redirect 301
for your subdomain to redirect to the new page or any other page if you want to.
Make sure, that your robots.txt
allows Google to access the old page directory.
When Google is able to track that the old page has been removed, it will no longer appear as search result.
Then you no longer need to rediect.
answered Nov 20 '18 at 8:17
f.overflowf.overflow
2509
2509
Thank you very much. I'm still a little fuzzy about this part: "Make sure, that your robots.txt allows Google to access the old page directory." I don't undestand as the old page is already indexed. Can you elaborate that. I'm sorry. I don't have a lot of experience.
– Foroogh Razavi
Nov 20 '18 at 8:40
p.s. I don't want to redirect to anything. I want to remove this subdomain completely.
– Foroogh Razavi
Nov 20 '18 at 8:49
When the old page is indexed via robots.txt don t worry about that. Some people just try to stop pages from appearing in search results by banning it from the robots.txt - that will not work.
– f.overflow
Nov 20 '18 at 8:54
Google is caching your site. So for now the old subdomain will appear - even if it is not existing. It will take time, that Google again crawles your pages and gets informed, that the subdomain is no longer existing. For the time it is still in the search results but not existing you should use the redirect that users do not enter any 404.
– f.overflow
Nov 20 '18 at 8:56
Thanks a lot. It was very helpful
– Foroogh Razavi
Nov 20 '18 at 9:51
add a comment |
Thank you very much. I'm still a little fuzzy about this part: "Make sure, that your robots.txt allows Google to access the old page directory." I don't undestand as the old page is already indexed. Can you elaborate that. I'm sorry. I don't have a lot of experience.
– Foroogh Razavi
Nov 20 '18 at 8:40
p.s. I don't want to redirect to anything. I want to remove this subdomain completely.
– Foroogh Razavi
Nov 20 '18 at 8:49
When the old page is indexed via robots.txt don t worry about that. Some people just try to stop pages from appearing in search results by banning it from the robots.txt - that will not work.
– f.overflow
Nov 20 '18 at 8:54
Google is caching your site. So for now the old subdomain will appear - even if it is not existing. It will take time, that Google again crawles your pages and gets informed, that the subdomain is no longer existing. For the time it is still in the search results but not existing you should use the redirect that users do not enter any 404.
– f.overflow
Nov 20 '18 at 8:56
Thanks a lot. It was very helpful
– Foroogh Razavi
Nov 20 '18 at 9:51
Thank you very much. I'm still a little fuzzy about this part: "Make sure, that your robots.txt allows Google to access the old page directory." I don't undestand as the old page is already indexed. Can you elaborate that. I'm sorry. I don't have a lot of experience.
– Foroogh Razavi
Nov 20 '18 at 8:40
Thank you very much. I'm still a little fuzzy about this part: "Make sure, that your robots.txt allows Google to access the old page directory." I don't undestand as the old page is already indexed. Can you elaborate that. I'm sorry. I don't have a lot of experience.
– Foroogh Razavi
Nov 20 '18 at 8:40
p.s. I don't want to redirect to anything. I want to remove this subdomain completely.
– Foroogh Razavi
Nov 20 '18 at 8:49
p.s. I don't want to redirect to anything. I want to remove this subdomain completely.
– Foroogh Razavi
Nov 20 '18 at 8:49
When the old page is indexed via robots.txt don t worry about that. Some people just try to stop pages from appearing in search results by banning it from the robots.txt - that will not work.
– f.overflow
Nov 20 '18 at 8:54
When the old page is indexed via robots.txt don t worry about that. Some people just try to stop pages from appearing in search results by banning it from the robots.txt - that will not work.
– f.overflow
Nov 20 '18 at 8:54
Google is caching your site. So for now the old subdomain will appear - even if it is not existing. It will take time, that Google again crawles your pages and gets informed, that the subdomain is no longer existing. For the time it is still in the search results but not existing you should use the redirect that users do not enter any 404.
– f.overflow
Nov 20 '18 at 8:56
Google is caching your site. So for now the old subdomain will appear - even if it is not existing. It will take time, that Google again crawles your pages and gets informed, that the subdomain is no longer existing. For the time it is still in the search results but not existing you should use the redirect that users do not enter any 404.
– f.overflow
Nov 20 '18 at 8:56
Thanks a lot. It was very helpful
– Foroogh Razavi
Nov 20 '18 at 9:51
Thanks a lot. It was very helpful
– Foroogh Razavi
Nov 20 '18 at 9:51
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f53388570%2fhow-to-remove-indexed-urls-from-subdomain-without-encountering-404-errors-in-goo%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
Add attempt you have made to solve your problem. From there we can help you figure out what to do differently to get this working the way you would like
– Rbar
Nov 20 '18 at 8:06