重定向/新网站如何将旧(谷歌)链接重定向到新网站? [英] redirect / new website how to redirect old (google) links to newsite ?

查看:273
本文介绍了重定向/新网站如何将旧(谷歌)链接重定向到新网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我更新了一个网站并将文件扩展名从.html更改为.php。


现在我注意到了google确实找到了旧的.html页面但是因为

他们已经不在了......他们找不到了。


有吗任何方式(轻松,没有弄乱网站;))重定向

那些链接到主站点?


谢谢!

Hi,

I updated a site and changed the file extensions from .html to .php.

Now i noticed that the google does find the old .html pages but since
they''re not there anymore... they can''t be found.

Are there any way of (easily, without messing the site ;)) redirecting
those links to the main site?

Thanks!

推荐答案

John写道:
John wrote:




我更新了网站并将文件扩展名从.html更改为.php。


现在我注意到google确实找到了旧的.html页面但是因为

他们' 不再存在......他们找不到了。


有没有办法(轻松,没有弄乱网站;))重定向

那些指向主站点的链接?


谢谢!
Hi,

I updated a site and changed the file extensions from .html to .php.

Now i noticed that the google does find the old .html pages but since
they''re not there anymore... they can''t be found.

Are there any way of (easily, without messing the site ;)) redirecting
those links to the main site?

Thanks!



John,


这是一个Apache(或者你正在使用的任何网络服务器)问题,而不是

PHP一。


如果您使用的是Apache,请尝试alt.apache.configuration。


-

==================

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================

John,

This is an Apache (or whatever webserver you''re using) question, not a
PHP one.

If you''re using Apache, try alt.apache.configuration.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


.. oO(John)
..oO(John)

>我更新了一个站点并将文件扩展名从.html更改为.php。
>I updated a site and changed the file extensions from .html to .php.



阅读


酷URI不会改变
http://www.w3.org/Provider/Style/URI


>现在我注意到google确实找到了旧的.html页面但是因为
他们不再存在了......他们找不到了。

有没有办法(轻松,没有弄乱网站;))重定向到主站点的链接?
>Now i noticed that the google does find the old .html pages but since
they''re not there anymore... they can''t be found.

Are there any way of (easily, without messing the site ;)) redirecting
those links to the main site?



不要重定向。配置你的服务器解析PHP的.html文件。


Micha

Don''t redirect. Configure your server to parse .html files for PHP.

Micha


谢谢!!


Michael Fesser kirjoitti:
Thanks!!

Michael Fesser kirjoitti:

.oO(John)
.oO(John)

>我更新了站点并将文件扩展名从.html更改为.php。
>I updated a site and changed the file extensions from .html to .php.



阅读


酷URI不会改变
http://www.w3.org/Provider/Style/URI


>现在我注意到google确实找到了旧的.html页面但是因为
他们不再存在了......他们找不到了。

有没有办法(轻松,没有弄乱网站;))重定向到主站点的链接?
>Now i noticed that the google does find the old .html pages but since
they''re not there anymore... they can''t be found.

Are there any way of (easily, without messing the site ;)) redirecting
those links to the main site?



不要重定向。配置服务器以解析PHP的.html文件。


Micha


Don''t redirect. Configure your server to parse .html files for PHP.

Micha


这篇关于重定向/新网站如何将旧(谷歌)链接重定向到新网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆