Redirect from:
name.com.ua\sub
to
name.com.ua\sublevel\subsub
and
www.name.com.ua\sub
to
www.name.com.ua\sublevel\subsub
In order to implement redirects:
- You need ISAPI 3 installed on your Server (Download);
- Go to %root drive%\Program Files\Helicon\ISAPI_Rewrite3;
- Open the file httpd.conf with Notepad;
- Add to the bottom based on your requirements entries.
RewriteCond %{HTTP_HOST} ^name\.com\.ua$ [NC]
RewriteRule ^/sub http://name.com.ua/sublevel/subsub [NC,L,R=301]
RewriteCond %{HTTP_HOST} ^www\.name\.com\.ua$ [NC]
RewriteRule ^/sub http://www.name.com.ua/sublevel/subsub [NC,L,R=301]
No comments:
Post a Comment