URL重定向问题

编程入门 行业动态 更新时间:2024-10-08 13:28:46
本文介绍了URL重定向问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

也许这是一个小小的OT,但无论如何我都会尝试.... 我被要求保持并进一步发展已经存在的小事/> 公司的网站。 我知道永恒的黄金法则URI,但在这种情况下更改它们 无法避免,因为它们在第一次网站时被严重选择 delevoped:包含空格,拼写错误等的网址所以我有使用新的URL和 将内容放入其中。 这会导致两个问题: - 404错误的用户已经为这家公司的网页添加了书签 - (以及*最重要的是*)当前页面已在Google和其他搜索引擎上编入索引。更改URL突然创建了明显的搜索引擎 定位和排名问题。 简单,有些人可能会说,有*各种* URL重定向技术帽子/ br / > 对用户都是透明的,并且被搜索引擎广泛接受 (特别是301 - 永久重定向)。不幸的是,我没有 访问web服务器配置文件,因为这是一个相当便宜的托管,即使它运行在apache上,我也不能cerate .htaccess文件 并将我的重定向放在那里。 除了更改托管服务提供商(无法在 $ b $完成b时刻)或使用html或javascript重定向(对于搜索引擎来说这是一个很大的没有 )我该如何解决这个问题呢? Max

Maybe it''s a little OT, but I''ll give it try anyway.... I was asked to maintain and further develop an already existing small company''s web site. I know the golden rule of "eternal" URIs, but in this case changing them cannot be avoided as they were badly chosen when thwe site was first delevoped: URLs with spaces, typos, etc. So I have to use new URLs and put the content in them. This causes two problems: - 404 errors for users who have bookmarked this company''s web pages - (and *most importantly*) current pages are indexed on Google and other search engines. Changing URLs abruptly creates obvious search engine positioning and ranking problems. Simple, some may say, there are *various* URL redirection techniques hat are both transparent to the users and well accepted by search engines (particularly 301 - Permanent redirection). Unfortunately, I don''t have access to the web server config file and, as this is a rather cheap hosting, even though it runs on apache, I cannot cerate a .htaccess file and put my redirections there. Apart from changing hosting provider (which cannot be done at the moment) or using html or javascript redirection (which is a big no no for search engines) how can I solve this problem? Max

推荐答案

2007年3月28日星期三,Massimo Fabbri写道: On Wed, 28 Mar 2007, Massimo Fabbri wrote: 也许它'' sa little OT, Maybe it''s a little OT,

确实。 在< news:comp.infosystems.www.authoring.site-中询问设计> 是否重定向。 询问< news:comp.infosystems.www.servers.unix> 如何重定向。 - 在记忆中Alan J. Flavell groups.google/groups/sear...Alan .J.Flavell

Andreas Prilop写道: Andreas Prilop wrote: 2007年3月28日星期三, Massimo Fabbri写道: On Wed, 28 Mar 2007, Massimo Fabbri wrote: >也许它是一个小OT, >Maybe it''s a little OT,

确实。 询问< news:comp.infosystems.www.authoring.site-design> 是否重定向。 询问< news:comp.infosystems.www.servers.unix> 如何重定向。

Indeed. Ask in <news:comp.infosystems.www.authoring.site-design> whether to redirect. Ask in <news:comp.infosystems.www.servers.unix> how to redirect.

谢谢:-)

Thanks :-)

在03/28/2007 10:14 AM, Massimo Fabbri写道: On 03/28/2007 10:14 AM, Massimo Fabbri wrote: 也许这是一个小小的OT,但无论如何我都会尝试.... 我被要求维护并进一步开发一个已经存在的小型公司的网站。 我知道黄金法则永恒" URI,但在这种情况下更改它们 无法避免,因为它们在第一次网站时被严重选择 delevoped:包含空格,拼写错误等的网址所以我有使用新的URL和 将内容放入其中。 这会导致两个问题: - 404错误的用户已经为这家公司的网页添加了书签 - (以及*最重要的是*)当前页面已在Google和其他搜索引擎上编入索引。更改URL突然创建了明显的搜索引擎 定位和排名问题。 简单,有些人可能会说,有*各种* URL重定向技术帽子/ br / > 对用户都是透明的,并且被搜索引擎广泛接受 (特别是301 - 永久重定向)。不幸的是,我没有 访问web服务器配置文件,因为这是一个相当便宜的托管,即使它运行在apache上,我也不能cerate .htaccess文件 并将我的重定向放在那里。 除了更改托管服务提供商(无法在 $ b $完成b时刻)或者使用html或javascript重定向(对于搜索引擎来说这是一个很大的没有 )我该如何解决这个问题呢? 最高 Maybe it''s a little OT, but I''ll give it try anyway.... I was asked to maintain and further develop an already existing small company''s web site. I know the golden rule of "eternal" URIs, but in this case changing them cannot be avoided as they were badly chosen when thwe site was first delevoped: URLs with spaces, typos, etc. So I have to use new URLs and put the content in them. This causes two problems: - 404 errors for users who have bookmarked this company''s web pages - (and *most importantly*) current pages are indexed on Google and other search engines. Changing URLs abruptly creates obvious search engine positioning and ranking problems. Simple, some may say, there are *various* URL redirection techniques hat are both transparent to the users and well accepted by search engines (particularly 301 - Permanent redirection). Unfortunately, I don''t have access to the web server config file and, as this is a rather cheap hosting, even though it runs on apache, I cannot cerate a .htaccess file and put my redirections there. Apart from changing hosting provider (which cannot be done at the moment) or using html or javascript redirection (which is a big no no for search engines) how can I solve this problem? Max

主机提供商可能允许您创建自定义404错误页面。 如果是这样,您可以使该页面成为可能重定向到的页面 新页面之一。 如果托管服务提供商不允许编写脚本,你可以创建一个 静态404页面列出了用户可能想要的目的地 (这是在网站重组期间移动的页面)。

The hosting provider might allow you to create a custom 404 error page. If so, you can make that page a script that possibly redirects to one of the new pages. If the hosting provider doesn''t allow scripting, you could create a static 404 page that lists the user''s probably intended destinations (which are the pages that were moved during the site reorganization).

更多推荐

URL重定向问题

本文发布于:2023-10-10 18:28:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1479380.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:重定向   URL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!