Angular 6 Seo routing
Seo problem
Routing file
.htaccess
app.component.html
I spent a lot of time on solving this problem and unfortunately I don't know how to solve it. When I check my application for Seo on for example www.seoptimer.com and everytime Seo does not see my sub-pages.
Could someone explain me what I'm doing wrong? Is the problem with my Routing file or .htaccess?
angular typescript seo serve
add a comment |
Seo problem
Routing file
.htaccess
app.component.html
I spent a lot of time on solving this problem and unfortunately I don't know how to solve it. When I check my application for Seo on for example www.seoptimer.com and everytime Seo does not see my sub-pages.
Could someone explain me what I'm doing wrong? Is the problem with my Routing file or .htaccess?
angular typescript seo serve
add a comment |
Seo problem
Routing file
.htaccess
app.component.html
I spent a lot of time on solving this problem and unfortunately I don't know how to solve it. When I check my application for Seo on for example www.seoptimer.com and everytime Seo does not see my sub-pages.
Could someone explain me what I'm doing wrong? Is the problem with my Routing file or .htaccess?
angular typescript seo serve
Seo problem
Routing file
.htaccess
app.component.html
I spent a lot of time on solving this problem and unfortunately I don't know how to solve it. When I check my application for Seo on for example www.seoptimer.com and everytime Seo does not see my sub-pages.
Could someone explain me what I'm doing wrong? Is the problem with my Routing file or .htaccess?
angular typescript seo serve
angular typescript seo serve
asked 2 days ago
Paweł Skrzeszewski
82
82
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The tool you are using is probably just not able to render JavaScript driven sites (Google is).
Don't worry too much about SEO Tool xy. Publish your site, use Googles Webmastertools and check in Google SERPs by using "site:https://www.example.com" if you have reached the index.
Also, make sure to add a robots.txt and a sitemap file:
https://www.thecodecampus.de/blog/angular-cli-sitemap-robots-txt/
add a comment |
At the moment, GoogleBot is not able to crawl an Angular website since it uses Chrome 41 engine which is pretty old and doesn't even support ES6 (e.g: it doesn't support arrow functions).
If you can wait for it, Google is working on using the latest Chrome engine version and it should be released early 2019.
If you can't wait for the new GoogleBot, then the solution is Angular Universal. This is an optional package from the Angular framework that enables server side rendering (and thus the "crawlability" of your website for any search engine) at the cost of some minor refactoring in your app, and the use of Node.js to serve the app. The refactoring includes:
- Make the URL represent the state of the application at any time
- Conditionally execute the client-side javascript code (that relies on the browser's API or on external javascript files)
- Handle authentication on both client and server side
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53945152%2fangular-6-seo-routing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The tool you are using is probably just not able to render JavaScript driven sites (Google is).
Don't worry too much about SEO Tool xy. Publish your site, use Googles Webmastertools and check in Google SERPs by using "site:https://www.example.com" if you have reached the index.
Also, make sure to add a robots.txt and a sitemap file:
https://www.thecodecampus.de/blog/angular-cli-sitemap-robots-txt/
add a comment |
The tool you are using is probably just not able to render JavaScript driven sites (Google is).
Don't worry too much about SEO Tool xy. Publish your site, use Googles Webmastertools and check in Google SERPs by using "site:https://www.example.com" if you have reached the index.
Also, make sure to add a robots.txt and a sitemap file:
https://www.thecodecampus.de/blog/angular-cli-sitemap-robots-txt/
add a comment |
The tool you are using is probably just not able to render JavaScript driven sites (Google is).
Don't worry too much about SEO Tool xy. Publish your site, use Googles Webmastertools and check in Google SERPs by using "site:https://www.example.com" if you have reached the index.
Also, make sure to add a robots.txt and a sitemap file:
https://www.thecodecampus.de/blog/angular-cli-sitemap-robots-txt/
The tool you are using is probably just not able to render JavaScript driven sites (Google is).
Don't worry too much about SEO Tool xy. Publish your site, use Googles Webmastertools and check in Google SERPs by using "site:https://www.example.com" if you have reached the index.
Also, make sure to add a robots.txt and a sitemap file:
https://www.thecodecampus.de/blog/angular-cli-sitemap-robots-txt/
answered 2 days ago
Can K.
42739
42739
add a comment |
add a comment |
At the moment, GoogleBot is not able to crawl an Angular website since it uses Chrome 41 engine which is pretty old and doesn't even support ES6 (e.g: it doesn't support arrow functions).
If you can wait for it, Google is working on using the latest Chrome engine version and it should be released early 2019.
If you can't wait for the new GoogleBot, then the solution is Angular Universal. This is an optional package from the Angular framework that enables server side rendering (and thus the "crawlability" of your website for any search engine) at the cost of some minor refactoring in your app, and the use of Node.js to serve the app. The refactoring includes:
- Make the URL represent the state of the application at any time
- Conditionally execute the client-side javascript code (that relies on the browser's API or on external javascript files)
- Handle authentication on both client and server side
add a comment |
At the moment, GoogleBot is not able to crawl an Angular website since it uses Chrome 41 engine which is pretty old and doesn't even support ES6 (e.g: it doesn't support arrow functions).
If you can wait for it, Google is working on using the latest Chrome engine version and it should be released early 2019.
If you can't wait for the new GoogleBot, then the solution is Angular Universal. This is an optional package from the Angular framework that enables server side rendering (and thus the "crawlability" of your website for any search engine) at the cost of some minor refactoring in your app, and the use of Node.js to serve the app. The refactoring includes:
- Make the URL represent the state of the application at any time
- Conditionally execute the client-side javascript code (that relies on the browser's API or on external javascript files)
- Handle authentication on both client and server side
add a comment |
At the moment, GoogleBot is not able to crawl an Angular website since it uses Chrome 41 engine which is pretty old and doesn't even support ES6 (e.g: it doesn't support arrow functions).
If you can wait for it, Google is working on using the latest Chrome engine version and it should be released early 2019.
If you can't wait for the new GoogleBot, then the solution is Angular Universal. This is an optional package from the Angular framework that enables server side rendering (and thus the "crawlability" of your website for any search engine) at the cost of some minor refactoring in your app, and the use of Node.js to serve the app. The refactoring includes:
- Make the URL represent the state of the application at any time
- Conditionally execute the client-side javascript code (that relies on the browser's API or on external javascript files)
- Handle authentication on both client and server side
At the moment, GoogleBot is not able to crawl an Angular website since it uses Chrome 41 engine which is pretty old and doesn't even support ES6 (e.g: it doesn't support arrow functions).
If you can wait for it, Google is working on using the latest Chrome engine version and it should be released early 2019.
If you can't wait for the new GoogleBot, then the solution is Angular Universal. This is an optional package from the Angular framework that enables server side rendering (and thus the "crawlability" of your website for any search engine) at the cost of some minor refactoring in your app, and the use of Node.js to serve the app. The refactoring includes:
- Make the URL represent the state of the application at any time
- Conditionally execute the client-side javascript code (that relies on the browser's API or on external javascript files)
- Handle authentication on both client and server side
answered 2 days ago
YoukouleleY
2,2801724
2,2801724
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53945152%2fangular-6-seo-routing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown