隐藏URL的页面扩展 [英] Hide Page Extention from URL

查看:63
本文介绍了隐藏URL的页面扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,我想从网站的网址中隐藏页面扩展名(.html或.php)。我也使用.htacess文件,但它不起作用。

请有人帮助我。

I've a website and I want to hide page extension(.html or .php) from the website's url. I have also use .htacess file for that but its not working.
Please anybody help me.

推荐答案

试试这个链接你可以得到一个想法,此链接解释了更改页面/文件的扩展名







http://blogs.msdn.com/b/carlosag/archive/2008/09/02/iis7urlrewriteseo .aspx [ ^ ]
try this link you can get an idea, this link explains changing extensions of the page/file



http://blogs.msdn.com/b/carlosag/archive/2008/09/02/iis7urlrewriteseo.aspx[^]


使用这个





Use this


<a href="http://stackoverflow.com/questions/13853788/how-to-hide-html-extension-from-the-website-url"><pre lang="text">http://stackoverflow.com/questions/13853788/how-to-hide-html-extension-from-the-website-url

[ ^ ]


这篇关于隐藏URL的页面扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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