Questions tagged [angular-seo]

30 questions
0
votes
1 answer

Angular universal : Unable to prerendering dynamic routes

There is an issue with prerendering dynamic routes. In my case, product-category is a primary route, and there is a title as a parameter so my link should be product-category/:title. There are many categories under my primary route, so I need this…
0
votes
0 answers

Add meta description based on current page in Angular

Hi I'm using Angular 13 to build a small website. The project contains 5 components and each component have their own meta-tags and descriptions. When I am switching from one component to another and try to "view the source code" I want to see the…
Ds D
  • 1
0
votes
1 answer

Angular Dynamic URL in lazy loaded module

I have page which renders content based on the params in the url, current route samples are given as follows, domain.com/page/:pageId (domain.com/page/123456) renders Home Page domain.com/page/:pageId (domain.com/page/567890) renders Offers…
0
votes
1 answer

Server-side rendering (SSR) with Angular Universal

To create the server-side application module, I used this command ng add @nguniversal/express-engine Then, I ran the command : npm run build:ssr , the build was successful. After which I ran npm run serve:ssr, but got the below…
ESCoder
  • 15,431
  • 2
  • 19
  • 42
0
votes
0 answers

Title and Meta tag not visible on View Page Souce in Angular Universal App

My question is similar to this except I'm not getting any error. The titles that I've added are visible on the tab and the meta tags can be seen when I'm inspecting the page. But on the view page source, both the title and the meta tags are not…
0
votes
1 answer

ReferenceError: window is not defined in angular universal

I am trying to use @nguniversal/express-engine and I have installed and trying to run it but its giving error in main.js file. This is the error I am getting C:\Folder\ssr\dist\ssr\server\main.js:179450 })(window, function() { …
0
votes
1 answer

Angular routes with parameter and SEO optimalization

I am currently facing a problem with SEO optimization of Angular app. I have a main component which has bunch of links to Report page, looks like this report/test1, report/test2, report/test3, ... Routing at this moment looks like this: const…
0
votes
0 answers

Angular 7 SSR use navigator to define parameters

I have an angular 7 universal app in two languages, Spanish and English. I want to display the site in the user's configured language. In order to achieve that I have the following setup. First my app.component.html which only has a router-outlet…
Carlos Torrecillas
  • 4,965
  • 7
  • 38
  • 69
0
votes
0 answers

When I past my SPA links in social media it is showing default meta tags only?

I am using Angular 7 for SPA Here is the link "https://adda.io/openings/sales-openings/1". Above link has it own meta and title when inspect I can see the tags inside , But when I post it in any social media it shows the default homepage one…
Biswajit Patra
  • 101
  • 1
  • 2
  • 11
0
votes
2 answers

How to render html from server in angular 6

I have a client side blog app that shows list of articles when loaded. I want to load the article data from server including the dynamic meta tags of that page for SEO purposes For example: I click on a link:…
kittu
  • 6,662
  • 21
  • 91
  • 185
0
votes
1 answer

Angular 6 | Server side rendering: issue 'window not defined'

I have updated my application from angular version 5 to latest. Here's detail: Angular CLI: 6.2.1 Node: 8.12.0 OS: win32 x64 Angular: 6.1.6 Also I am using this: ng-toolkit-universal to achieve server side rendering. I am able to build…
Monika D
  • 103
  • 1
  • 3
  • 10
0
votes
0 answers

Angular Universal view page source

I have implemented Angular Universal in angular 5 app. However, I could not see meta tags, source code in the view page source. When I inspect code in the developer tool, i see meta tags, keywords. But not in the source code. SEO Checker also could…
0
votes
2 answers

Angular 5 CLI Server Side Rendering Webpack Issue

I followed the wiki from angular-cli wiki for Server Side Rendering in Angular 5. Followed all the steps properly. I remember it worked last week. I did not made any changes to my system. But yesterday when I tried the same steps npm run build:ssr…
0
votes
1 answer

Doesn't google execute javascript if I add in html?

I have built site with angularjs and I am using html5 pushstate mode. I have also added tag in html page. I don't provide html snapshots for bots. I am expecting google to execute javascript itself and index my site. But, google is indexing the…
-1
votes
1 answer

What is the quickest workaround to make Angular 4 routing work on a prod server?

I have spent 6 whole days for converting a HTML5 only app to Angular 4 routing app. Just to be able to use Angular 4 routing to make website more SEO friendly. After developing it successfully I deployed it on the server just to realize the direct…
vishal kokate
  • 126
  • 3
  • 12
1
2