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 Structure for geo location for specific page
On hackerearth.com/challenges page, there is an option to select languages. This option is in the footer. Once you select the language the url changes. Ex - if we select French, the URL changes to hackereath.com/fr/challenges. In case we decide to change the URL of this page with Geo, what should be the URL structure which accommodates languages as well. My research says that it would good to keep the url like domainname.com/page/language.
Intermediate & Advanced SEO | | Rajnish_HE0 -
Is it better to optimise for several keywords/keyword variations on one page, or create sub categories for those specific terms?
I've done a fair of research to try to find the answer to this, but different people seem to give very different opinions, and none of the info I could find is recent! I'm working with a company that produces a range of industrial products that fit into 6 main categories, within this categories, there are types of products and the products themselves. Prior to my involvement most of the content was added to the product pages and very little was added to the overall category page. The structure works like this: Electronic devices > type of device > products The 'type of device' category could be something like a switch, but within that category are 3/4 different switch types...leaving me with 11 or 12 primary keyword/phrases to aim for as each switch is searched for in more than one way. Should I try to rank for all of those terms using that one category page? Or should I change the structure to something like: Electronic devices > type of device > sub-category/specific variation of device > product This would mean creating a page for each variation to have a more accute focus for a small number of phrases..but it also means I've added another step between the home page and the products. Any advice is welcome! I'm worried I'm overthinking it!
Intermediate & Advanced SEO | | Adam_SEO_Learning0 -
Does having a different sub domain for your Landing Page and Blog affect your overall SEO benefits and Ranking?
We have a domain www.spintadigital.com that is hosted with dreamhost and we also have a seperate subdomain blog.spintadigital.com which is hosted in the Ghost platform and we are also using Unbounce landing pages with the sub domain get.spintadigital.com. I wanted to know whether having subdomain like this would affect the traffic metric and ineffect affect the SEO and Rankings of our site. I think it does not affect the increase in domain authority, but in places like similar web i get different traffic metrics for the different domains. As far as i can see in many of the metrics these are considered as seperate websites. We are currently concentrating more on our blogs and wanted to make sure that it does help in the overall domain. We do not have the bandwidth to promote three different websites, and hence need the community's help to understand what is the best option to take this forward.
Intermediate & Advanced SEO | | vinodh-spintadigital0 -
SEO value in baclklink from blog.domain VS domain
Will a back-link from "domain.com/abc" and "blog.domain.com/abc" have same value from an SEO perspective? Assume same article written on both sites.
Intermediate & Advanced SEO | | knielsen
I have been told the bots look at the domain value and the only links from blogs that have less value are in case of comments. As long as the "blog.domain/abc" page includes a full article and not a blog comment then it counts fully for SEO. Is this correct?0 -
How to handle the 301 of a complete domain on URL level
We will be shutting down an old website with many (good) links, since the site has no strategic relevance anymore. We do have many other sites, but none of them has exactly the same content/topic. Nonetheless, I would like to keep the juice and redirect the site to another newer project. However, I want to redirect certain URLs of the old site to probably even different domains, depending on which content matches best with the alternative newer site. Does this make sense? Or would youjust redirect the whole domain to one other domain although they don't really have the same topic And how would you handle the URL redirects if the old site has more than 50k URLs? Because that is the case. Thanks for any advice
Intermediate & Advanced SEO | | Windex0 -
Preferred domain can't set in Web master Tool
I have put my domain name as xxxxxtours.com without www in web master tool. i have redirect to www version using htaccess file .So I wanna put Preferred domain "Display urls as www.xxxxtours.com .When trying it give error as attached image.but i have verified site the .waiting for expert help . Ar5qx.png
Intermediate & Advanced SEO | | innofidelity0 -
Can I use a "no index, follow" command in a robot.txt file for a certain parameter on a domain?
I have a site that produces thousands of pages via file uploads. These pages are then linked to by users for others to download what they have uploaded. Naturally, the client has blocked the parameter which precedes these pages in an attempt to keep them from being indexed. What they did not consider, was they these pages are attracting hundreds of thousands of links that are not passing any authority to the main domain because they're being blocked in robots.txt Can I allow google to follow, but NOT index these pages via a robots.txt file --- or would this have to be done on a page by page basis?
Intermediate & Advanced SEO | | PapaRelevance0 -
Where do I redirect a domain to strengthen another domain?
I've got a UK domain that I need to redirect to a US domain. Should I point it to the root domain or a landing page off the root and what it the benefit to doing one over the other?
Intermediate & Advanced SEO | | JCorp0