I'm very new here but have recently inherited a V7 Umbraco site that is in need of some help. The site itself is in perfect working order, but there is a big problem with the Angular front end in regards to SEO. The original developer appears to have created the front end as a JS bundle and, on load, the site props up. As I'm sure you can imagine, this just looks like a blob of data to the crawling bots which has hurt the SEO and I can't seem to find any kind of pre-production package with angular files, so I'm not sure how much of the angular side of the view is just from the original developer and how much of it is part of the Umbraco platform. Also, is there anyway to enable any kind of pre-render or server-side rendering on Umbraco?
If anyone has any insight to offer on these items, I would greatly appreciate it! Thanks in advance.
Umbraco is completely agnostic when it comes to rendering your frontend views - whatever you're seeing is entirely the work of the developer. Umbraco stays completely out of the way.
Serverside rendering isn't something I've explored, but I don't see why it wouldn't be possible. Hopefully someone else chimes in with something a bit more helpful...
Hi Mark. It's not typical to use Angular on the front-end of an Umbraco site to render content from the CMS. So none of what you have inherited is to do with Umbraco. As Nathan says, Umbraco is agnostic to how you display content - but the usual way is to use Razor views just like ASP.NET MVC to render your HTML server-side.
Angular creating SEO Issues
Hello all!
I'm very new here but have recently inherited a V7 Umbraco site that is in need of some help. The site itself is in perfect working order, but there is a big problem with the Angular front end in regards to SEO. The original developer appears to have created the front end as a JS bundle and, on load, the site props up. As I'm sure you can imagine, this just looks like a blob of data to the crawling bots which has hurt the SEO and I can't seem to find any kind of pre-production package with angular files, so I'm not sure how much of the angular side of the view is just from the original developer and how much of it is part of the Umbraco platform. Also, is there anyway to enable any kind of pre-render or server-side rendering on Umbraco?
If anyone has any insight to offer on these items, I would greatly appreciate it! Thanks in advance.
Hi Mark
Umbraco is completely agnostic when it comes to rendering your frontend views - whatever you're seeing is entirely the work of the developer. Umbraco stays completely out of the way.
Serverside rendering isn't something I've explored, but I don't see why it wouldn't be possible. Hopefully someone else chimes in with something a bit more helpful...
Hi Mark. It's not typical to use Angular on the front-end of an Umbraco site to render content from the CMS. So none of what you have inherited is to do with Umbraco. As Nathan says, Umbraco is agnostic to how you display content - but the usual way is to use Razor views just like ASP.NET MVC to render your HTML server-side.
There are examples in the docs:
https://our.umbraco.com/documentation/Tutorials/Creating-Basic-Site/Creating-Your-First-Template-and-Content-Node/
https://our.umbraco.com/documentation/Reference/Templating/Mvc/views
is working on a reply...