Angular 6 Seo routing












0














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?










share|improve this question



























    0














    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?










    share|improve this question

























      0












      0








      0







      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?










      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      Paweł Skrzeszewski

      82




      82
























          2 Answers
          2






          active

          oldest

          votes


















          0














          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/






          share|improve this answer





























            0














            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






            share|improve this answer





















              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
              });


              }
              });














              draft saved

              draft discarded


















              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









              0














              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/






              share|improve this answer


























                0














                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/






                share|improve this answer
























                  0












                  0








                  0






                  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/






                  share|improve this answer












                  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/







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 days ago









                  Can K.

                  42739




                  42739

























                      0














                      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






                      share|improve this answer


























                        0














                        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






                        share|improve this answer
























                          0












                          0








                          0






                          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






                          share|improve this answer












                          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







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 2 days ago









                          YoukouleleY

                          2,2801724




                          2,2801724






























                              draft saved

                              draft discarded




















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              Mossoró

                              Error while reading .h5 file using the rhdf5 package in R

                              Pushsharp Apns notification error: 'InvalidToken'