Can you redirect specific sub domain URLs?
-
ello!
We host our PDFs, Images, CSS all in a sub domain. For the question, let's call this sub.cyto.com. I've noticed a particular PDF doing really well, infact it has gathered valuable external links from high authoritative sites. To top it off, it gets good visits.
I've been going back and forth with our developers to move this PDF to a subfolder structure.
For example: www.cyto.com/document/xxxx.pdfIn my perspective, if I move this and set up a permanent redirect, then all the external links the PDF gathered, link juice and future visits will be attributed to the main website. Since the PDF is existing in the subdomain, I can't even track direct visits nor get the link juice. It appears in top position of Google as well.
My developer says it is better to keep images, pdf, css in the subdomain. I see his point and an idea I have is to:
- convert the pdf to a webpage.
- Set up a 301 redirect from the existing subdomain to this webpage
- Upload the pdf with a new name and link to it from the webpage, so users can download if they choose to.
This should give me the existing rank juice. However, my question is whether you can set up a 301 redirect for just a single subdomain URL to a folder structure URL?
-
"Do you recommend scrapping the subdomain in such an instance and hosting them all in the main domain in a folder?"
Yes.
"Would that impact on page load and speed?"
No.
This PDF is a perfect example of why not to do this, but the same can be said for images. Say you create an awesome infographic that people start linking to/sharing, and it's sitting on your subdomain. There goes your SEO benefit, much like you're experiencing with this PDF.
If you have the right hosting service, none of this should impact performance. Looking into a CDN will help for sure. I've heard good things about cloud flare, for example.
-
Thanks for the response Jesse.
Our site is an ecommerce one, and every product page is supported with a pdf. This is expected from our customers and it basically is the product page in a PDF format with tweaks. We have 10,000s of these and for speed, we store files such as pdfs and images locally in a subdomain.
For content delivery network purposes, I heard it was better to keep pdfs, images separate as well? We haven't got a CDN but it's something we will look into next year.
Do you recommend scrapping the subdomain in such an instance and hosting them all in the main domain in a folder? Would that impact on page load and speed?
Also is it possible to redirect individual subdomain URLs to a main domain one?
-
"My developer says it is better to keep images, pdf, css in the subdomain. I see his point"
You do? I sure don't. That sounds ridiculous to me and I see absolutely no reason why this should ever be necessary. I'd be surprised if anyone else did.
Your original plan was the right one; move that pdf to your main domain in a pdf folder or whatever and redirect the original URL right to it. That's the way to go, for sure. If you want to build it as an HTML page that's fine too. I personally would do that if it were an option mainly because I can't stand PDFs. But that's me.
No reason you need to have pdf, css, and images in a subdomain. That's silly.
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
-
URL indexed but not submitted in sitemap, however the URL is in the sitemap
Dear Community, I have the following problem and would be super helpful if you guys would be able to help. Cheers Symptoms : On the search console, Google says that some of our old URLs are indexed but not submitted in sitemap However, those URLs are in the sitemap Also the sitemap as been successfully submitted. No error message Potential explanation : We have an automatic cache clearing process within the company once a day. In the sitemap, we use this as last modification date. Let's imagine url www.example.com/hello was modified last time in 2017. But because the cache is cleared daily, in the sitemap we will have last modified : yesterday, even if the content of the page did not changed since 2017. We have a Z after sitemap time, can it be that the bot does not understands the time format ? We have in the sitemap only http URL. And our HTTPS URLs are not in the sitemap What do you think?
Intermediate & Advanced SEO | | ZozoMe0 -
How can another country domain appear in a page title?
I have run into something i have never seen before. A friend has a website with two country domains, so page titles for the homepages of both websites look like this: Rent your care here | carrentals.de Rent your car here | carrentals.co.uk The thing is, both are perfectly well set-up in Yoast. Yet when googling, the different URL's both appear like this: Rent your car here | carrentals.co.uk How could this happen?
Intermediate & Advanced SEO | | Boostability0 -
Competitors ranking with multiple sub-domains with no backlinks
Hi Moz, We are currently doing SEO for a hand therapy company called the Hand Therapy Group. They rank well, however, one competitor, Sydney Hand Therapy, is ranking higher than them for the term "hand therapy Sydney" (which is one of our highly focused keywords) with three different URLs (their home page, contact page and about page) despite the latter two pages have no backlinks. I understand why Google might see their homepage as being more relevant because their name is Sydney Hand Therapy (even though the Hand Therapy Group have more backlinks) but why do the other two URLs rank so well? Any help/info/advice would be brilliant! Cheers!
Intermediate & Advanced SEO | | wearehappymedia1 -
Piggybacking on a domains authority - Unsure on whether to move a sub brand or not
Hey guys, We are a higher ed website and we have a conference centre that would like to have separate brand identity to the college. They have the local keyword friendly domain confrencecentre.ie redirecting to their conference centre landing page on the higher ed site. We are considering going back to the conferencecentre.ie and redirecting the higher ed landing page to this domain. My main concerns are if we do this are we taking a risk with loosing are rankings? Currently we are ranked very highly for many keywords related to conference centre and most of our traffic is from organic. I'm afraid of recommending this move for this reason as I feel the conference centre is piggybacking of the authority of the our higher ed website. I'd love to here your thoughts? Thanks Rob
Intermediate & Advanced SEO | | Griffith0 -
Canonical URL & sitemap URL mismatch
Hi We're running a Magento store which doesn't have too much stock rotation. We've implemented a plugin that will allow us to give products custom canonical URLs (basically including the category slug, which is not possible through vanilla Magento). The sitemap feature doesn't pick up on these URLs, so we're submitting URLs to Google that are available and will serve content, but actually point to a longer URL via a canonical meta tag. The content is available at each URL and is near identical (all apart from the breadcrumbs) All instances of the page point to the same canonical URL We are using the longer URL in our internal architecture/link building to show this preference My questions are; Will this harm our visibility? Aside from editing the sitemap, are there any other signals we could give Google? Thanks
Intermediate & Advanced SEO | | tomcraig860 -
Can I, in Google's good graces, check for Googlebot to turn on/off tracking parameters in URLs?
Basically, we use a number of parameters in our URLs for event tracking. Google could be crawling an infinite number of these URLs. I'm already using the canonical tag to point at the non-tracking versions of those URLs....that doesn't stop the crawling tho. I want to know if I can do conditional 301s or just detect the user agent as a way to know when to NOT append those parameters. Just trying to follow their guidelines about allowing bots to crawl w/out things like sessionID...but they don't tell you HOW to do this. Thanks!
Intermediate & Advanced SEO | | KenShafer0 -
Multiple domains expiring that have 301 redirects to my primary domain. Am I in trouble?
I recently took on the SEO of a large website with http://example.com. My predecessor bought 40 plus domains for specific cities like Jacksonvilleexample.com, Miamiexample.com, etc. ZERO of the additional domains linked to our main website. The domains that were bought basically had our exact same website in terms of content, links etc that mirrored our main http://example.com. I added 301 redirects to help problems that may be a result of this type of structure. Some of the additional domains were indexed and some were not but all have 301's and as far as traffic is concerned I'm not worried about loosing short term traffic. My question: All the domains are set to expire in June and I don't want to continue to have them 301 redirected to my main domain (example.com). I'm not trying to avoid the additional cost of all the domains but I don't see an advantage to having them so CAN letting all these domains expire hurt me from a long term SEO position if I don't renew them?
Intermediate & Advanced SEO | | ballanrk0 -
Can penalties be passed via 301 redirect?
I have a well established domain that's been hit with some penalties. It hasn't been nuked off the map, just downgraded, especially on short-tail, one word type queries. I'm planning on redirecting this domain to another well established domain. The domains already have a history of lots of interlinking and are very similar from a subject matter standpoint. I feel that the penalized domain has been hit with an "over-optimization" of link anchor text penalty (I'm hoping it's algorithmic, but it could be manual). My question is if anyone has ever heard of a penalty like this being transferred to another domain through a 301 redirect. My hope is that the penalty just puts a cap on how much juice the redirect can pass, rather than transferring the penalty to the other domain itself. Any thoughts on this?
Intermediate & Advanced SEO | | SEOMG1