Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

303
Views
In React app that support multilingual, how to use the hreflang tag correctly?

I have a React application with 3 pages(routes) and I support 2 languages (English and Spanish). Do I need to paste the following code In the public\index.html <head></head> part like this?

<link rel="alternate" hreflang="en" href="https://url_of_page/"/>
<link rel="alternate" hreflang="es" href="https://url_of_page/es"/>

<link rel="alternate" hreflang="en" href="https://url_of_page/landing-webpage"/>
<link rel="alternate" hreflang="es" href="https://url_of_page/es/landing-webpage"/>

<link rel="alternate" hreflang="en" href="https://url_of_page/business-website"/>
<link rel="alternate" hreflang="es" href="https://url_of_page/es/business-website"/>

I was looking at Google Search Console, and other SEO websites the past week and could not find the answer to that. Thank you so much, StackOverflow!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!