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.
It seems like ISAPI_Rewrite docs 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]
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]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.