This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: simplify urls question
Author
Message |
mwebb
Newbie


Joined: 11 December 2010
Posts: 2
Posted: 11 December 2010 at 4:34pm

Hi. Please help to create simplify urls.
I have 2 pages
www.sitename/employer/index.aspx
www.sitename/employer/online.aspx
I need to simplify first in browser url to
www.sitename/employer and second page to
www.sitename/online
Thanks.
Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 13 December 2010 at 5:58am

Hello,

please, try using:

Code:
RewriteEngine on
# RewriteBase /
RewriteRule ^employer/index\.aspx$ /employer [NC,R=301,L]
RewriteRule ^employer$ /employer/index.aspx [NC,L]

RewriteRule ^employer/online\.aspx$ /online [NC,R=301,L]
RewriteRule ^online$ /employer/online.aspx [NC,L]



Regards
Andrew

Back to Top
 
mwebb
Newbie


Joined: 11 December 2010
Posts: 2
Posted: 13 December 2010 at 7:06am

AndrushkaUS wrote:
Hello,
please, try using:
...


Excellent. It works.

Spasibo =)
Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 13 December 2010 at 7:17am

welcome =)
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum