如何在 helicon 上重定向 url

发布于 2025-01-03 11:25:55 字数 400 浏览 6 评论 0原文

我刚刚进入 helicon ,所以如果这是一个基本问题,请原谅我。我的 asp.net 网站包含以下固定 url。想要将此固定 url 重定向到我定义的固定 url。

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 重定向到上面的重定向 URL 页面。

如果有任何疑问请询问,提前致谢。

I'm just getting into helicon , so forgive me if this is a basic question. my asp.net website contain bellow fixed urls.want to redirect this fixed url to my defined fixed url.

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

In my asp.net website,I use helicon to redirect url ,I need help on helicon ISAPI_Rewrite configuration file,I need a rule that redirect my rules.When only my base url appear I want helicon redirect this url to above Redirect URL page.

if have any query plz ask,thanks in advanced.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

佞臣 2025-01-10 11:25:55

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

RewriteEngine on
RewriteBase /

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

Agree with ThinkingMonkey, but I'd apply the following in your site's .htaccess(as you need the 301-redirect, I assume):

RewriteEngine on
RewriteBase /

RewriteRule ^category/233/incontinence$ /browse/652/free_wipes [NC,R=301,L] 
微凉徒眸意 2025-01-10 11:25:55

看起来 ISAPI_Rewritedocs 与 mod_rewrite 类似。因此尝试一下。

试试这个:

Options +FollowSymLinks -Indexes -MultiViews
RewriteEngine on
RewriteBase / 

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

It seems like ISAPI_Rewritedocs is similar to mod_rewrite. Hence giving it a try.

Try this:

Options +FollowSymLinks -Indexes -MultiViews
RewriteEngine on
RewriteBase / 

RewriteRule ^category/233/incontinence/? browse/652/free_wipes [NC,R=301,L]
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文