重定向/新网站如何将旧(谷歌)链接重定向到新网站?

编程入门 行业动态 更新时间:2024-10-23 03:16:34
本文介绍了重定向/新网站如何将旧(谷歌)链接重定向到新网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我更新了一个网站并将文件扩展名从.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 ==================

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 ==================

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

阅读 酷URI不会改变 www.w3/Provider/Style/URI

>现在我注意到google确实找到了旧的.html页面但是因为他们不再存在了......他们找不到了。 有没有办法(轻松,没有弄乱网站;))重定向到主站点的链接? >Now i noticed that the google does find the old .html pages but sincethey''re not there anymore... they can''t be found.Are there any way of (easily, without messing the site ;)) redirectingthose 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不会改变 www.w3/Provider/Style/URI

>现在我注意到google确实找到了旧的.html页面但是因为他们不再存在了......他们找不到了。 有没有办法(轻松,没有弄乱网站;))重定向到主站点的链接? >Now i noticed that the google does find the old .html pages but sincethey''re not there anymore... they can''t be found.Are there any way of (easily, without messing the site ;)) redirectingthose links to the main site?

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

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

更多推荐

重定向/新网站如何将旧(谷歌)链接重定向到新网站?

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

发布评论

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

>www.elefans.com

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