Sitemap Hustle
Sitemap Hustle
@SitemapHustle

Trailing slash vs no trailing slash — pick one and enforce it

Trailing slash vs no trailing slash — pick one and enforce it
Crawl showed /products/ and /products both 200ing. Two URLs, same content, split signals.
— Trailing slash: convention for directories, plays nice with most CMS folder logic.
— No slash: cleaner for 'file-like' URLs, common on flat-file and JAMstack setups.
The truth: Google treats them as separate URLs. Doesn't matter which you pick — matters that you 301 the loser to the winner site-wide and your internal links all use the chosen version.
The move: check your server config, pick the one your CMS already favors, 301 the other, then grep your templates so no internal link points at the dead variant. Mixed internal links re-summon the duplicate every crawl.
Этот пост опубликован в Telegram-канале Sitemap Hustle. Подписаться можно по ссылке: @SitemapHustle.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.