Subdomain rewrite
-
Our old website had a staging subdomain that was used before I got with the company. We recently had the website redesigned, still on the DNN platform, but our staging subdomain is still showing up.
The domain, staging.structural.net, shows up in serps and needs to be redirected to just the root domain. What is the best way to get this thing from working.
If robot text is needed to get this subdomain from showing up, can you share? Also can you share the instructions you would use in iis to route this beast? Any advice is appreciated.
-
We ended up rewriting the subdomian in IIS. Thanks for your help Heather.
-
Hi there
We had a similar issue and just added:
User-agent: *
Disallow: /into a robots.txt file on the subdomain itself. This worked OK for us.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Gradual roll out of new webpages on temporary subdomain
I’m working for a company who is looking to gradually replace an existing website with a new website. They will replace the homepage, then a section, then another section, and so on, until the new site is complete. All new pages will sit on a temporary subdomain. So, for example, the URL for the homepage at the moment is www.domain.com, but as soon as the new homepage is ready, that will be launched on a temporary URL / subdomain - www2.domain.com - replacing the old homepage. The new pages will then gradually increase on www2.domain.com (so journeys will inevitably move across domains) until the whole of the new website is ready on www2.domain.com - at which point it will move on to www.domain.com. I know this isn’t a good way of doing things - I would much prefer the new site is completely built and then it just replaces the old site with the necessary 301 redirects in place - but the company wants to see the gradual roll out of new page designs. So, my question is, what’s the best way to manage this without negatively impacting rankings for the existing domain (www.domain.com)?
Web Design | | RWesley1 -
Blogspot blog is subdomain, but domain is changing - How will this affect backlinks?
Hi Moz community, I appreciate the title is confusing, so let me explain. We use blogspot to host our blog. It's set up as a subdomain of our website. Let's call it: lovelyblog.lovelytraining.com Our website, in this example, is **lovelytraining.com ** We're migrating our website to a new domain: lovely.training We'll be redirecting everything on the primary website, so our link profile won't be lost. However, as the blog is hosted on blogspot, we'll lose links pointed to the blog. The blog would remain lovelyblog.lovelytraining.com - but our website would now be lovely.training The question is, has anyone migrated/redirected a blogspot blog in this way, to retain links? Secondly, is there another way we can tell Google that this is blog should be treated as a subdomain of our website? I'm sure I'm missing out something stupid, so don't go easy on me! Thanks all.
Web Design | | RobertChapman0 -
Learning Center on Subdomain or New Domain
Hello, With so much emphasis for SEO to develop unique, information content I am working to build out a "Learning Center' for one of my clients in the finance industry. As you can guess, this is quite a competitive space and their rankings have become somewhat stagnant so we are looking for new ways to develop original, share-worthy content for the site. So my question is, in order for them to retain the most SEO value should we develop this on a subdomain such as learning.website.com or a new domain altogether. Note: We do not want to develop this under the current site domain as it we want o only post informational content & courses and keep these pieces outside of the "sales" side of their website. Therefore, I thought the subdomain would be the best bet so that we would retain the most value for SEO... however, some of my colleagues disagree. Some vote it should be within a directory under website.com. Some say a new site & domain altogether. My vote is to place this under a subdomain such as http://learning.website.com with the idea that the site's authority will influence the root http://website.com. The argument I was provided against the subdomain was: "essentially adding a subdomain would mean you're sort of starting over again in terms of building authority. adding a folder will ride the coattails off the already established authority." Lastly, for clarification, the current domain is set up as http://website.com so the subdomain would be http://learning.website.com, the directory would be set up as http://website.com/learning/ and a whole new domain would be http://newwebsite.com. This is for a Wordpress site. Thoughts? All feedback is much appreciated!
Web Design | | TinaMumm0 -
HTTPS redirecting to subdomain; do I need to 301 to HTTP first?
Hello there, quick question on HTTPS downgrade to HTTP. Originally, full site was HTTPS. Redesign eliminated need for secure layer. Site currently has https 301'd to sub.domain.com. Ideally, site would live at domain.com, but with the old site having been indexed https, the security warning triggers when you visit, hence the 301 to a subdomain. Thinking possible solutions here are to a) add back in secure layer or b) 301 all old https pages to new http pages. Have I overlooked something? With (a), I will see no SEO impact, correct? With (b), can I expect impact similar to a relaunch? Have seen a lot of chatter that there is some impact in switching http to https, but not much the other way. Any help much appreciated!
Web Design | | alimo0 -
Subdomain pdfs - do you track them?
We've enabled event tracking to monitor clicks to pdfs on our website. All of these pdfs are hosted in a subdomain. The thing is, we offer some valuable pdfs that get a lot of traffic from search engines but I can't track them on Google Analytics. Do you track such pdfs? I can't place tracking code as they are pdfs on a subdomain. Thoughts?
Web Design | | Bio-RadAbs0 -
Is it possible to redirect the main www. domain - but keep a subdomain active?
Hi Mozzers, Quick question, which I hope one of you can answer... Let's say I have a website (i) www.example.com and on that a subdomain exists, (ii) subdomain.example.com. Let's say I want to change my main domain from www.example.com to www.newwebsite.com. I'd 301 all content, use GWT to notify Google of a change of address etc etc. Having done that, is it still possible to keep the original subdomain active? So, even though www.example.com has been redirected / transferred to www.newwebsite.com, subdomain.example.com would still exist. If that is possible, what is the implication for Domain Authority? On the one hand, I have transferred the main site (so DA from that will transfer to the new site); but part of that root domain is still active. Make sense? Any answers? Thanks everyone...
Web Design | | edlondon0 -
What will you do with the subdomains, keep it or remove it?
A client of us has this webpage http://www.losestores.com/ not very good in design, but it has good products.
Web Design | | teconsite.com
He is having a problem with SEO, he is in page 2 for "estores" keyword. His domain authority is 27 and is upper than other domains that are ranking in page one. The question is the following: Since the webpage began to work the programmer that created it, did the following: a subdomain per section http://estores.losestores.com/ http://cortinas.losestores.com/ http://venecianas.losestores.com/ and so on. This page is not very big one. Will you remove the subdomains and do de following? www.losestores.com/estores www.losestores.com/cortinas What will be best? Thanks Victoria0 -
Are Subdomains Beneficial?
Are subdomains beneficial? I have a client with 4 stores. As it stands, they use one domain, www.mainpage.com/store1, www.mainpage.com/store2, etc. Are there any big benefits to making these subdomains like store1.mainpage.com, store2.mainpage.com?
Web Design | | eldoradoseo0