创建一个类似于wordpress的虚拟目录. [英] Create a virtual directory look like wordpress.

查看:82
本文介绍了创建一个类似于wordpress的虚拟目录.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
今天,我与wordpress(php Edition)合作,并看到了出色的操作.
我插入新帖子.它出现在这个地址上(看起来像):

Hi all.
Today i working with wordpress (php Edition) and seen a fantastic action.
I insert new post. It come on this address(look like):

http://example.com/pages/Hello-Guys/


但是在主机中,我找不到ant页面"文件夹.
怎么会?我可以在asp.net上执行此操作吗?
感谢您的回答.


But in host i cant find ant "pages" folder.
How come? Can i do this on asp.net?
Thanks for your answers.

推荐答案

是的,可以. :)

您需要 URL重写.

在这里阅读:
使用ASP.NET进行URL重写 [ MSDN:URL重写 [ URL路由 [
Yes, you can. :)

You need URL Rewriting.

Read here:
URL Rewriting with ASP.NET[^]
MSDN: URL Rewriting[^]

OR

Read about, In ASP.NET 4.0: URL Routing[^]


这篇关于创建一个类似于wordpress的虚拟目录.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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