Questions tagged [angular-seo]

30 questions
8
votes
2 answers

Title and Meta tags not rendering in angular SSR in server

I have developed a website using Angular 6 in the frontend. By default Angular is not SEO friendly, so in order to do that, I implemented it in the way of Angular-Universal or Angular SSR (Server Side Rendering). I updated the code and comparing the…
6
votes
2 answers

How implement SEO (Metatags) in Angular 2 (with Angular universal for rendering on server side)?

I'm searching a fully working example about SEO or Metatags with Angular 2 using Angular universal to render on server side (to be recognize by facebook, twiter, and other metatags) but I had not success.. I found multiple articles, but there are…
4
votes
1 answer

project name not found in angular

I am trying to convert my angular app to angular universal. I keep getting the error saying: Project 'my-app' could not be found in Workspace. when I try to build the app using: npm run build:client-and-server-bundles && npm run…
kittu
  • 6,662
  • 21
  • 91
  • 185
2
votes
0 answers

Angular Meta Service not adding and updating dynamic tag values

I'm working on SeoService for my Angular 6 project https://mypleaks.com. I'm trying to add and update Meta tag as my content URL changes dynamically. I'm able to console.log('18 ' + title); console.log('19 ' + description); but when I'm appending…
2
votes
1 answer

Angularjs, replace html content when angular is loaded

I have an angular app with a page and dynamic content. I use ui router for routing. I want user to see static html which server side rendering will return it, and when angular is loaded, change html content with ur router templates. sample static…
fyelci
  • 1,399
  • 2
  • 16
  • 27
1
vote
0 answers

SEO and Angular Translation using ngx-translate

I'm wondering how SEO is working for translated webpages from Angular app. I can see sometimes that when the translate call makes few time to retrieve the translation, the translation code are displayed before being translated. Does Google and other…
Mattew Eon
  • 1,722
  • 1
  • 21
  • 38
1
vote
2 answers

Angular 12+ : getting errors after applying ssr steps

I have existing angular project. I need to apply ssr on my existing angular project. I am following this ng add @nguniversal/express-engine this command works as expected. npm run dev:ssr after running this command, and opening browser on given…
ganesh
  • 416
  • 1
  • 11
  • 32
1
vote
0 answers

How to deploy angular7 universal server side rendering to IIS

In Angular 7 project, deployed the code using ng build --prod to create a production build and copied the content of the dist folder to IIS folder and it works fine. I tried to implement Angular SEO friendly using @ng-toolkit/universal, It is…
Baski
  • 23
  • 4
1
vote
0 answers

Angular universal Seo tags and JSON LD Issue.. Rendering one time on reload the page, meta and schema hides

Basically i am working on angular universal . In this i set and add the meta tags and add schema. And when we run the build (npm run build:ssr and npm run serve:ssr) . It sometimes show the meta and schema and some time hides. But static schema are…
1
vote
0 answers

Error when trying to run command (npm run server)

After executing npm run build:prod everything seems ok. After that, I just run npm run server as documentation explains but when I tried access localhost I get an error (ERROR [Error]) without any description and browser loading never…
1
vote
0 answers

ngx-slick syntaxerror: unexpected token import angular universal

Ngx-slick shows the following error: node_modules\ngx-slick\index.js:1 (function (exports, require, module, __filename, __dirname) { import { Component, Directive, ElementRef, EventEmitter, Host, Input, NgModule, NgZone, Output, forwardRef } from…
Akshay Pitale
  • 96
  • 1
  • 8
1
vote
0 answers

Angular 2 - Integrating angular universal in already built app on top of ASP.NET MVC

We developed and deployed an angular 2 application using SystemJS which is built on the top of ASP.NET MVC and implemented AOT compilation for deployment to speed up the load time. All works well but we have a problem now with SEO as you may have…
Ali Baig
  • 3,819
  • 4
  • 34
  • 47
1
vote
0 answers

ui-router and angular-translate working together

I read different SO posts and blog posts about that question but none of them answered my questions. Here's what I have: Angular-translate is activated to find the preferred language, store it in localstorage/cookie and use that to translate the…
0
votes
0 answers

GSC URL inspection: URL is not available to Google for Angular SSR app

I have an Angular SSR app, which is hosted in DigitalOcaen. After submitting the sitemaps to GSC, this was the result for Page indexing: The reasons mostly are these: Server error (5xx) Discovered - currently not indexed When I tried to manually…
Ankur
  • 177
  • 3
  • 15
0
votes
0 answers

Dynamically add meta Tags based on route in Angular which should render in chat-bots

I'm using Angular 13 for my application which is hosted in S3 Bucket. Thus far, I have my routes set up, and the page title and meta tags changes dynamically based on the activated route using @angular/platform-browser in browser but when i try to…
1
2