Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Global rewrite for a site

$
0
0

Hello,

We've been handed a website that uses plus symbols to separate all words in all urls. We need to replace all + signs in all url's into hyphens

e.g. http://domain.com/customer+services/contact+us+with-your+answers

to

http://domain.com/customer-services/contact-us-with-your-answers

I have an expression that works as a regex but not sure how to use this with URL rewrite on a Windows 2016 server.

 ^(.*)\+(.*) $1-$2 [N,NC]

How should i proceed to convert this to work with URL Rewrite?

Regards

Spencer


Viewing all articles
Browse latest Browse all 2482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>