Solved

[IIS 7.5] Remove %20 from URL using Rewrite module v2

Posted on 2013-07-02
4
1,247 Views
Last Modified: 2013-08-02
Hello,

I've a website running on SharePoint Foundation 2010 which is relayed on IIS 7.5. I've a page with Title "Service Catalog" which results the URL as "https://intranet/portal/SitePages/Service%20Catalog.aspx"

I've Rewrite module 2 installed on IIS 7.5 and configured with one rule which redirect users from http to https

Q: I would like to remove "%20" from any URL for the site. I can't simply rename the Site Title to get rid of this, since inbuilt web parts relayed on the path with "%20".

So I would like to rewrite the URL by removing %20 via Rewrite module 2 so that other web parts relayed on this URL will work normally.

I'm new to Rewrite module. Clear guidance will be greatly appreciated. Thank you!
0
Comment
Question by:SrinathS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 39295255
The %20 is NOT in the address of the URL.  %20 is the ASCII Encocded markup for a BLANK character (%20 is the encoding for HEX 20 which is ASCII 32 = " ").  When the URL is decoded, it becomes Service Catalog.aspx
  If you were to remove the %20, it would decode to ServiceCatalog.aspx, which does not exist.

AW
0
 

Author Comment

by:SrinathS
ID: 39295366
Arthur,

In that case, Is there anyway to replace "%20" with hyphen "-" or plus "+" symbols via Rewrite v2 module for IIS 7.5?

Thanks.
0
 
LVL 19

Expert Comment

by:Manoj Patil
ID: 39295986
0
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 500 total points
ID: 39296510
Why would you want to do that?  You said the site title is Service Catalog.aspx, and that you did NOT want to change the site title.  If you replace the %20 with '-', you would still need to change the site title to match.  What is the issue with the encoded %20?
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question