SShortSingh.
Back to feed

Why automatic language redirects can hurt multilingual sites and what to do instead

0
·4 views

Automatic language redirects can cause problems such as users getting stuck in the wrong language, search engines failing to crawl alternate versions, and shared links opening differently for different people. The article recommends that every language URL be directly reachable with a plain request, so crawlers and users can access all versions. Instead of forcing redirects, sites should show a dismissible banner when the browser language differs from the page language and remember the visitor's choice. It advises against redirecting deep links and against permanent 301 redirects based on preferences, and stresses correct, reciprocal hreflang tags as the most common audit error. The author, PandaWM, also suggests testing each language URL and verifying content and hreflang tags.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Developer says Claude Code uncovered 145,000 deleted iPhone photos stored in a hidden cache

A user reported on social media that Claude Code, Anthropic's AI coding tool, located roughly 145,000 photos they had deleted from their iPhone. According to the post, the images were still sitting in a hidden cache on the device rather than being fully removed. The report was shared on Hacker News, where it received 4 points and no comments at the time of listing. The source material is a brief link post, so the exact cause of the retained files and the details of the discovery process are not described in the available text.

0
ProgrammingDEV Community ·

Claude Code 2.1.311 and 2.1.312 Add Effort Controls and Clearer Errors

Anthropic released Claude Code 2.1.311 on October 26, 2026 and 2.1.312 the following day, neither introducing a new model. The 2.1.311 update maps the ultrathink keyword to xhigh effort on several named models via the API, and can raise effort mid-turn. The 2.1.312 release lets users set an effort level for cloud routines in the model picker and renames the usage window to "5-hour limit." Together the releases include 78 bug fixes, mostly affecting subagents, hooks, and VS Code reliability. The update also caps prompt and agent hooks at 24 concurrent runs per session and improves the guidance shown for "Connection dropped" errors.

0
ProgrammingDEV Community ·

How to Run a Telegram Bot 24/7 on a VPS with systemd Auto-Restart

A guide explains how to keep a Telegram bot running continuously on a virtual private server instead of a laptop that may sleep. The setup uses Ubuntu 22.04 or 24.04 with a dedicated non-root user, a Python virtual environment, and a token stored in a restricted environment file. A systemd service configured with Restart=always and a five-second delay ensures the bot restarts after crashes or server reboots. The article also covers monitoring logs with journalctl, deploying updates, and choosing between long polling and webhooks. It warns against common mistakes such as running as root, hard-coding tokens, and running duplicate bot instances.

0
ProgrammingDEV Community ·

SideQuest Streamlines Sideloading on Meta Quest, Opening Path for AmblyoPunch Vision Game

SideQuest has made sideloading apps onto Meta Quest headsets a more direct process, bypassing Meta's official store. The change is aimed at independent developers who previously faced technical hurdles and version-management risks. The article highlights AmblyoPunch, a Quest game by Seven Sportz that applies dichoptic training to help treat amblyopia, a condition affecting about 3% of people. The game runs through four structured phases designed to strengthen the weaker eye and improve binocular fusion and 3D vision.