Fixing hreflang issue on next.js
On the main page hreflang works correctly, but on other pages it somehow shows ua instead of uk. The project runs on Next.js (App router) version 15
In the html code everything is correct, the problem is in the http header, so possible options are
1. Some issue with redirects from http or something similar
3. Hreflang is somehow taken from the site localization /ua, although there is no problem with this on the main page, maybe it only applies to ua/catalog
-
12912 67 0 Hello! I will complete your task quickly and efficiently. The exact cost will be determined after reviewing the code.
My portfolio: https://freelancehunt.com/ua/freelancer/romas6ka.html#portfolio
Write to me, I will start working today. I look forward to working with you!
-
1167 14 0 Good day! I am interested in your project.
Ready to cooperate! Shall we discuss the details?
-
865 18 2 1 Ready to take on the task and fully understand the hreflang display issue. I will fix it so that the correct language is displayed correctly on all pages, without unnecessary errors and inconsistencies. I will analyze the current locale settings, middleware, and headers to find and eliminate the source of the problem. I will do everything carefully and professionally so that your project works as intended on all levels and devices.
-
571 3 0 I am a full-stack developer with 7 years of commercial experience, including working with Next.js, server-side rendering, SEO, and multilingual sites. If something isn't working properly — I will find the cause and fix it without unnecessary talk 🙂
Ready to connect quickly. Write — we will discuss everything!
-
654 2 0 Good day!
I am interested in your request regarding incorrect hreflang tags on the internal pages of a website developed on Next.js. The problem is likely related to incorrect i18n settings (for example, using ua instead of the correct uk) or how HTTP headers are formed during redirects in the App Router.
I am ready to connect, analyze the code, and make the necessary corrections. The plan of action:
I will check next.config.js, routes, and possible middleware/redirects;
I will correct the i18n configuration and the logic for forming headers;
…
I will ensure that hreflang is correctly delivered both in HTML and in HTTP headers (200 OK);
I will test the fixes in the working environment.
💰 Cost of work: 1100 UAH
⏱ Deadline: up to 1 working day from the moment of receiving access to the project (or its part where the problem occurs).
If it suits you — please let me know how it is more convenient to transfer access or the project archive for local verification.
-
97052 1277 1 10 Hello. I have extensive experience with Next.js. Ready to collaborate. Contact me
-
270 Denise, I will try to help you. If it doesn't work out — then it won't work out, and if it does — then super :)
-
10671 591 6 10 Ready to take on the work, write to me, I will do everything qualitatively. Work experience is already more than 14 years!
Current freelance projects in the category Javascript and Typescript
Game Developer Pixi.Js
350 USD
We are looking for a Pixi.js developer to create a series of 12 mini-games. The projects are simple to implement, and with confident work, developing one game takes no more than a week. It is necessary to implement the frontend and game mathematics, without backend development.… Javascript and Typescript, Web Programming ∙ 2 hours 23 minutes back ∙ 22 proposals |
Optimization of Core Web Vitals (OpenCart) for Google PageSpeed — Mobile and PC versionsOrder description: We are looking for an experienced frontend developer/OpenCart specialist to optimize the loading speed of the website (categories and product cards) according to Google Core Web Vitals requirements. About the project: * CMS: OpenCart. * Specifics: The site… Content Management Systems, Javascript and Typescript ∙ 3 days 23 hours back ∙ 23 proposals |
Optimization of WordPress site speed
114 USD
We will send full details in private messages Goal Maximize website loading speed, especially on mobile devices. KPI (mandatory) After the work is completed, the following metrics must be achieved. Mobile Performance 90+ LCP less than 2.2 sec INP less than 200 ms CLS less than… HTML & CSS, Javascript and Typescript ∙ 4 days 18 hours back ∙ 68 proposals |
Looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition.There is a working, well-designed project on Odoo 19 Community — CRM for a Ukrainian hotel, already in production-grade infrastructure. We do not plan to rewrite from scratch. We are looking for one person who will take over the project, maintain the working state, and lead it… Javascript and Typescript, Web Programming ∙ 6 days 20 hours back ∙ 4 proposals |
I am looking for an experienced Full Stack developer to create a SaaS service for online stores.Service idea: The client uploads a link to their product feed (XML or CSV). The service automatically retrieves the products, takes their photos, and creates new advertising images based on ready-made templates: price, discount, logo, promotional tags, etc. There should also be… Javascript and Typescript, Web Programming ∙ 8 days 2 hours back ∙ 87 proposals |