Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any way around the trailing slash on 301 re direct

Status
Not open for further replies.

lexx2gee

Programmer
Mar 1, 2005
56
GB
Hi all,

I have set up a 301 redirect in IIS so that if a visitor to my website types in for example


they will be redirected to


Only problem is the redirect is adding a trailing slash at the end of the URL making it


This is messing up some javascript that runs on the site to display a certain phone number based on the code (e=1234)

Is there any way to use this redirect method without the trailing slash - all help greatly appreciated

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top