Under the advice of SEO specialists, in order to get google to index the file and apply any associated SEO benefits, the PDF should be uploaded to the custom domain eg. http://mysite.com
As I understand it, there is no way to change this to use my custom domain, in which case, so I can give a direct link to the PDF for other sites that would like to link to the PDF file using our custom domain, I’ve used javascript so everybody who visits http://mysite.com/mypdf > will automatically go to > https://uploads-ssl.webflow.com/xxxxxxx.pdf
Thank you so much for reaching out about SEO and assets uploaded within your Webflow project. Great question, and I’m here to help!
As you may know - the PDFs will still rank in search, however they will not be attributed to your custom domain.
Setting window.location from script will not be spotted by search engines (Google has detection for simple document.write additions but this won’t catch any of the more advanced DOM scripting stuff).
Attributing to your custom domain does provide SEO benefits, however allowing Amazon to provide the assets is more efficient.
Currently, Google can crawl, index, and rank the documents.
We definitely understand that this process is not the most ideal for SEO. You are not alone in thinking this would be an awesome feature to have in Webflow. It is definitely something you can vote for on our Webflow Wishlist
Hey, I have quick follow up question to this comment:
Does that mean, due to the set up of the document links, there is no way for me to stop Google from indexing a PDF uploaded to Webflow? (I’ve uploaded a doc to my company’s website, and we’d like to stop it from indexing, but so far all attempts have been fruitless, and I’m suspecting this may be the reason.)
@mistercreate It appears that the PDF is still showing in Google.
I did read that the PDF disallow won’t work for PDFs that were already uploaded. And from what I can, tell a more recent PDF that I had to upload is not appearing in Google which is good.
So, I understand that the old PDF may still be appearing because the disallow was added after, but how can i remove it? It doesnt appear to be as simple as adding a redirect to another page, or getting google to remove the url because the file isn’t seen as being from my website. It’s under https://uploads-ssl.webflow.com/ , not https://[mysite].com/ or anything like that, and any attempt to get it removed seems to make the url https://[mysite].com/https://uploads-ssl.webflow.com/, which obviously doesnt exist.
It’s the same with setting up a redirect in the webflow 301 area, since it automatically adds my website domain to the start of anything I try to redirect. And I mean, it all makes sense, not being able to redirect anything from outside of your own site.
So, any ideas on this? or is there a way to get it so PDFs and other files are actually under your own website, and not webflow’s uploads-ssl.webflow.com?
If you do so, I’ll be standing by to push your request along.
In regards to the naming convention: currently, this is not available natively within Webflow, and you are not alone in thinking this would be an awesome feature to have in Webflow. It is definitely something you can vote for on our Webflow Wishlist
With Github Pages, you can upload your PDF files to your Github repository, and connect a custom domain to the repository (or subdomain). This would allow you to control the domain name of your PDF files without the need to pay for hosting: Configuring a custom domain for your GitHub Pages site - GitHub Docs
@mistercreate, could you please reply to this suggestion by @forresto regarding this simple solution? I also am trying to maximize SEO benefits on site PDFs, but since they’re hosted outside our website (AWS S3 and Cloudflare), would Forrest’s 301 redirect solution work? (CC @ethan)