大网数据广告活动
网站运营与故障问答

Redirecting all old URLs in same domain

· 52CE 我爱测

I'm relaunching a new site on a current domain, currently there are hundreds of URLs. With the relaunch, all of the content will have new URLs and there will be no need for the old URLs. I need to redirect all the old ones to the…

问题原文

原帖链接 · Abu Nooh · CC BY-SA 3.0

I'm relaunching a new site on a current domain, currently there are hundreds of URLs.

With the relaunch, all of the content will have new URLs and there will be no need for the old URLs.

I need to redirect all the old ones to the new URLs like for like.

It will take forever to redirect one by one using htaccess.

I don't mind if all the old URLs redirect to the new homepage just as long they're not 404 but would prefer like for like redirects.

What are my options?

已采纳解答

原帖链接 · Simon Hayter · CC BY-SA 3.0

Sorry to be the bearer of bad news but redirecting like to like is the only way that you will be able to keep your SEO in tact. So, your 3 options are:

  1. 301 redirects from all old pages to the home page and face the music that your site may encounter some form of automated negative seo algorithm by Google or Bing.
  2. You use 404 or 410 statuses and lose any SEO that those pages gained over the months or years. This can reduce domain authorithy and rankings on other pages.
  3. You want your SEO kepted in tact and face the music that you need to spend several hours remapping old urls to new urls.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-11-19)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。