Questions tagged [seo]

Please be advised that any inquiries regarding general SEO topics are not suitable for discussion on this platform. Newtab Q&A strictly focuses on programming-related SEO questions exclusively. For non-programming SEO queries, it is suggested to seek assistance on Webmasters.SE found at seo.

Send search engines to a particular route, like 'mydomain.com/somepath'

My website is built using Next.js. I am aiming to have the main application on the index route: ...mydomain.com/. However, I also want a dedicated landing page at route: ...mydomain.com/mylandingpage. My question revolves around how to inform search eng ...

Is there a way to create SEO-optimized URLs using PHP?

My current tech stack includes Apache HTTP, PHP, and MongoDB. I'm aiming to create SEO-friendly URLs similar to "stackoverflow". Would it be advisable to extract the title from each article and pass it on to Apache? If so, what would be the best way to a ...

Pre-rendering Vue.js components with dynamically generated PHP content

Seeking guidance on prerendering a Vue app constructed with PHP (either Laravel or pure PHP). My inquiry pertains to understanding how prerendering functions with dynamic content. For instance, when creating a blog using Vue and PHP to display posts, I uti ...

Is there a way to use an Angular interceptor to intercept and modify static files like .html files? I would like to change the lang

While researching Angular intercepting, I stumbled upon this helpful documentation: here. My goal is to intercept HTML using an Angular interceptor in order to modify the HTML file before it's displayed in the browser. Trying to accomplish this on the ...

Optimizing SEO for SPA (single page application) with dynamically generated content through node.js + express.js on the backend server

My client-side code is a unique single-page app created using knockout.js. It has its own routing system, which poses a challenge when the Google crawler bot attempts to access links that are not directly requesting new pages from the backend but are rathe ...

Exploring the optimal SEO strategies for website creation using PHP programming

In my recent work, I've delved into the world of SEO and it's been quite an eye-opening experience. Admittedly, I've always been a bit skeptical about SEO, thinking it was just buzz-word nonsense with no real substance. I've always beli ...

Retain the existing HTML files of the old website on the webserver while preventing search engines from indexing them

Recently, I completed a website for a client who is looking to replace their ancient HTML hard-coded website. The challenge lies in the fact that they wish to preserve the old website and its files on the web server at their current location. While this do ...

Optimizing Angular for search engines: step-by-step guide

Regarding Angular SEO, I have a question about setting meta tags in the constructors of .ts files. I have implemented the following code: //To set the page title this.titleServ.setTitle("PAGE TITLE") //To set the meta description this.meta.addTag ...

Utilizing SEO and incorporating special characters like !# in a website's URL

I came across an interesting concept about designing a website that utilizes AJAX to load each page section without compromising SEO. It involved incorporating !# in the URL, similar to the approach adopted by Twitter. However, I've been unable to locate ...

What could be causing my Nuxt/vue pages to be blocked by the robot.txt file?

This isn't a query about SEO best practices, but rather a question on correctly setting up config.js and script sections in VUE After building my site with Vue/Nuxt, which was previously easy for me with Angular, I am now encountering errors. The ma ...

Optimizing search engine results with ReactJS in conjunction with Django

Utilizing Node server, React is able to handle server side rendering. When a crawler requests a URL, Django server communicates with the Node server which then invokes React.renderToString to generate HTML. This generated HTML is passed back to Django an ...

Achieving SEO success in angular js through organic methods, without the need for third

Is it possible to optimize SEO in AngularJS without relying on third-party solutions such as Prerender or Seo4Ajax? Can we effectively implement SEO using AngularJS alone? After researching forums and Stack Overflow, I have found that the primary options ...

What is the best location to insert Google Search description in a VUE application?

We have successfully created a Vue application that supports multiple languages by utilizing i18n dictionaries. In addition, we have included descriptions in the "/public/index.html" file for Google search page visibility using meta tags: <meta proper ...

What steps can I take to stop search engines from crawling and indexing one specific page on my website?

I'm looking for a way to prevent search engines from indexing my imprint page. Is there a method to achieve this? ...

tips for successfully indexing dynamic routes on Google with NextJS

Although I am familiar with ReactJS, I am currently working on developing a web page using NextJS to enhance SEO. However, I have encountered a question. How can I ensure that Google recognizes the dynamic routes created with NextJS? I know about getStati ...

What is the best way to generate an HTML snapshot using C#?

I'm currently working on a page with Ajax functionality and I'm interested in making it SEO crawlable. After reviewing Google's guidelines at https://developers.google.com/webmasters/ajax-crawling, I learned that I need to use "#!" to create ...

Can you explain the contrast between utilizing `next export` versus solely relying on React in your project?

After reading about the difference between next build && next export and next build && next start on this thread, I understand that the former generates a fully static app while the latter starts a server. This leads me to wonder, how does ...

Exploring the Concept of Pre-rendering in Next.js Without the Use of SSR or SSG Techniques

Hello JavaScript Community, I've been delving into the world of Next.js and its rendering capabilities, and I find myself pondering about pre-rendering behavior in scenarios where neither SSR (getServerSideProps) nor SSG (getStaticProps/getStaticPath ...

Are Angular URLs Becoming More Google Friendly?

I am in the process of developing a full website using Angular. When utilizing routes, the URLs end up looking like www.mysite.com/#/mypage. I want to modify this to appear as www.mysite.com/mypage without needing to redirect away from the current page a ...

-Fallback: enabled ensures that metadata tags are not visible in the source code

Encountering an unusual behavior with fallback: true while following documentation for fetching data in the getStaticProps method. Even when using hardcoded values, meta descriptions and titles are missing from the page source when initially loading locall ...

Is it detrimental to my search engine ranking if I utilize CSS display:none?

Imagine having valuable content that is initially hidden with CSS, and then using javascript to reveal it only when the user clicks on certain links. Even users without javascript enabled can access this content by following the links to a new page where i ...

Can using display: none impact the SEO of a website's navigation menu?

Is there a difference in SEO impact between using display:none with CSS and using display:none with jQuery for menus? Appreciate the insights! ...

Tips for seamlessly integrating the RankMath (WP SEO) tool with Next.js 13 for optimal SEO performance

I am looking to incorporate rank math SEO tool API support for enhancing my website's SEO performance. After following this informative tutorial, I was able to generate a complete HTML head section with quality metadata and other elements. However, t ...

Are HTML/CSS/JavaScript adjustments made after DOM loading taken into consideration in Google search results?

When searching on www.google.com, do the listings display content directly from the original HTML page load or do they also consider any front-end CSS / JavaScript stylings/adaptations? -- In a hypothetical scenario, let's examine the following questions ...

Can search engines understand and interpret CSS files?

Upon examining various CSS files across different websites, I've noticed comments similar to the one below: /* Theme Name: CSSnewbie V2 Theme URI: http://www.cssnewbie.com Description: Second version of CSSnewbie, based on Carrington theme by Crowd Favor ...

How can the hreflang tag be used correctly in a React application that supports multiple languages?

I have a React application with 3 pages(routes) and I support 2 languages (English and Spanish). Should I insert the following code into the <head></head> section of the public\index.html file like this? <link rel="alternate" ...

Improve page loading speed by removing JavaScript and CSS that block rendering of above-the-fold content, specifically focusing on Angular JS

Currently, I am working on improving the page speed of my MEAN stack application. My main challenge lies in eliminating render-blocking Javascript and CSS to enhance the loading time. Despite making significant progress, I have hit a roadblock with the con ...

Angular is unable to load additional routes

While working on building a web application with Angular 11, I encountered an issue with routing. When navigating from the initial route ( { path: '', component: HomeComponent } ) to other routes, everything functions as expected. However, when ...

Google has not detected any hreflang return tag

My website has encountered indexing errors on Google Search Console. According to the reports, many pages are showing an alternate version in a different language without the "return tag". This "return tag" is believed to be the pointer back to the origina ...

Is there a method to instruct crawlers to overlook specific sections of a document?

I understand that there are various methods to control the access of crawlers/spiders to documents such as robots.txt, meta tags, link attributes, etc. However, in my particular case, I am looking to exclude only a specific portion of a document. This por ...

What is the method for configuring the <title> of a client component in Next 13?

Currently, I am in the process of transitioning my Next 12 app to Next 13 along with its updated /app directory. Within this transition, I have a <LoginPage> component (located at /login) that requires the use of hooks for managing form data. To acc ...

Does Google's caching process differ when using <span> tags instead of <h> tags for headings?

Does the choice between using <span class="heading"> and <h> tags impact search engine optimization for Google? As I'm constructing a website, I decided to style the headings and subheadings with <span>. However, I began to wonder i ...

Can a nofollow attribute be added to concealed modal content in Bootstrap?

Query: I am dealing with a situation where I have a significant amount of disclaimer text within a modal on my website. This text is initially hidden (display:none) until a user clicks a button to reveal it. I want to prevent search engines from indexing t ...

Incorporating AJAX functionality into anchor interactions while preserving href links for search engine optimization benefits

Is it possible to create a link/button that triggers an AJAX/jQuery function to load new content, while still providing a link to the same content on a separate page? I am particularly concerned about SEO and how search engine crawlers will index my sitem ...

"Utilizing Ajax technology for website functionality while implementing effective SEO strategies

I've been facing an issue with my website not being indexed by Google for the past 5 weeks. The problem is not just with internal pages, but with the entire website itself. When searching for "xyz," my website "ww.xyz.com" is completely ignored by Google. ...

Which is Better for SEO: Server Components or Client Components in Next.js App Router?

In my previous assumption, I believed that declaring a page or component with the "use client" directive meant that those pages would not be visible on the "View Page Source" of browsers, as they are only rendered on the client side using JS (sim ...

What steps should I follow to incorporate a sitemap.xml file into my AngularJS website?

I have uploaded the sitemap.xml file to my app folder, but I'm not sure how to make it accessible to Google Webmaster Tools. Can anyone help with this? Appreciate any guidance you can provide. Thank you! ...

The conversion of AJAX crawling into hashbang URLs

Currently, I am working on a website that is AJAX-crawlable using Google's AJAX crawling guidelines. However, there are some aspects of this process that are unclear to me. In the backend of my application, I filter out the _escaped_fragment_ parameter and ...

Tips for optimizing Angular source code to render HTML for better SEO performance

Our web platform utilizes Angular JS for the front-end and node js for the backend, creating dynamic pages. When inspecting the code by viewing the source, it appears like this: For our business to succeed, our website needs to be SEO-friendly in order to ...

Leveraging NextJS for Advanced Server-Side Rendering with Seamless Integration of React Query in the Front

I have implemented React Query in the following manner: const { data, isSuccess, isLoading } = useQuery(['myQuery', myParams], async () => { return myAjaxCall(myParams); }, { cacheTime: 0 }); The results are then passed into a custom component: ...

Unable to generate webpage source code

Having some trouble with my Next.js project as I'm using getStaticProps and getStaticPath to build a page, but unfortunately, the HTML is not being generated in the page source. This issue is causing problems with SEO, and I haven't implemented redux-persi ...

"Improve text visibility on your website with Google PageSpeed's 'Ensure text remains visible' feature, potentially saving you

Click here for the image reference showing the 0ms potential saving message I'm having trouble with a warning in Google PageSpeed and I've tried everything. This is the code I'm using to define the font-family: @font-face { font-family: "Roboto&q ...

Considering the advantages and disadvantages, is it advisable to implement HTML 5 for a website revamp?

Currently, I am involved in the re-write and redesign of a major website. To ensure that my work is well-informed, I have been conducting extensive research on HTML 5. However, prior to adopting it for this particular design implementation, I would like to ...

Failed to execute npm script for server side rendering (ssr)

I experimented with Server-Side Rendering (SSR) in my React application for SEO benefits. Although I encountered certain errors, they were not considered actual errors by React. Initially, the error appeared in componenDidMount=()=> Upon commenting ou ...

Tips for creating an SEO-friendly URL structure in Nuxt.js for Stack Overflow

Stack Overflow utilizes a URL structure of stackoverflow.com/questions/{question ID}/{question title}. If you happen to misspell the {question title}, you will be redirected permanently with a 301 status code to the correct URL, provided that you have the ...

Googlebot is unable to view structured data tags generated in an Angular single-page application (SPA)

During live testing a URL on Google Search Console, I discovered that while Googlebot can render the page, the structured data is missing. The structured data is generated in JavaScript using the following function: insertStructuredData(genDataFn: Function ...

Getting the canonical URL for dynamic pages in NextJS. How can it be done?

Previous to nextjs 9.4, I relied on the next-absolute-url package to provide the origin in getInitialProps. With Next.js 9.5 and the implementation of Automatic Optimization, using getServerSideProps and getStaticProps is preferred. Unfortunately, the nex ...