如何在螺旋上重定向url

时间:2012-02-08 03:50:56

标签: .htaccess url-rewriting isapi isapi-redirect helicontech

我刚刚进入螺旋,所以如果这是一个基本问题,请原谅我。我的asp.net网站包含波纹管固定urls.want,将此固定网址重定向到我定义的固定网址。

Base URL=http://www.abc.ca/category/233/incontinence  
Redirect URL=http://www.abc.ca/browse/652/free_wipes 

在我的asp.net网站上,我使用helicon重定向url,我需要有关helicon ISAPI_Rewrite配置文件的帮助,我需要一个重定向我的规则的规则。当只有我的基本url出现时我想要helicon将此url重定向到Redirect上方网页。

如果有任何查询请问,请先谢谢。

2 个答案:

答案 0 :(得分:0)

似乎ISAPI_Rewritedocs与mod_rewrite类似。因此试一试。

试试这个:

Options +FollowSymLinks -Indexes -MultiViews
RewriteEngine on
RewriteBase / 

RewriteRule ^category/233/incontinence/? browse/652/free_wipes [NC,R=301,L]

答案 1 :(得分:0)

同意ThinkingMonkey,但我会在您网站的.htaccess中应用以下内容(因为您需要301重定向,我假设):

RewriteEngine on
RewriteBase /

RewriteRule ^category/233/incontinence$ /browse/652/free_wipes [NC,R=301,L] 
相关问题