如何在新的新标签等中创建www.site.com/xyz.aspx,www.site.com/abc.aspx [英] how to create www.site.com/xyz.aspx, www.site.com/abc.aspx in new new tab and etc
问题描述
我为工具创建了网站。
Myweb网站名称是:www。 xyz.com
现在我有几个模块。例如,在菜单栏中考虑一个名为shop by brand的模块,其中包含品牌列表
Bosch
Dewalt
Dremel
福禄克
格林利
牧田
密尔沃基>
西方皮革
PLS激光
。
。
现在我需要帮助才能做到如果我们点击bosch
i需要在不同的标签中创建www.xyz.com/bosch.aspx
如果点击唾液需要为这一切改变www.xyz.com/dewalt.aspx。
如何做到这一点。我是新手。我听说过使用web.config,IIS我们可以做到这一点。但是我不知道该怎么做。
友情告诉我这个有详细的例子
谢谢
:删除垃圾邮件链接
你'重新寻找目标
。
添加锚点$ c页面的$ c>或
a
标记。您可以设置目标属性。您在此处输入的值控制打开新标签/窗口等的行为
使用窗口时,您有相同的选项。在Javascript中打开
命令。
您正在谈论URL重写。
阅读...
1. ASP.NET中的URL重写 [ ^ ]
2。 提示/技巧:使用ASP.NET重写网址 [ ^ ]
3. 第5章URL重写模块 [ ^ ]
Hi,
I created website for tools.
Myweb site name is : www.xyz.com
Now i have several module. for example consider one module called shop by brand in the menu bar which has list of brands
Bosch
Dewalt
Dremel
Fluke
Greenlee
Makita
Milwaukee
Occidental Leather
PLS Laser
.
.
Now i need help to do like that if we click on bosch
i need to create www.xyz.com/bosch.aspx in different tab
if they click dewalt need to change www.xyz.com/dewalt.aspx like that for everything.
how to do that. i am new for this. i have heard using web.config,IIS we can do that. but i have no idea how to do this.
kindly anybody help on this with detailed example
Thanks
[Edit]: Spam links removed解决方案You're looking for thetarget
.
When you add ananchor
ora
tag to a page. You can set the target attribute. The value you put in here controls the behaviour in regards to opening new tabs/windows e.t.c.
You have the same option when using thewindow.open
command in Javascript.
You are talking about URL Rewriting.
Read...
1. URL Rewriting in ASP.NET[^]
2. Tip/Trick: Url Rewriting with ASP.NET[^]
3. Chapter 5. URL Rewrite Module[^]
这篇关于如何在新的新标签等中创建www.site.com/xyz.aspx,www.site.com/abc.aspx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!