문제

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.

도움이 되었습니까?

해결책

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] 

다른 팁

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]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top