• Post Reply Bookmark Topic Watch Topic
  • New Topic

Apache Rewrite Rule

 
Win Loo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want all the white spaces (added anyway) from my url to be truncated.

eg.
"www.xyz.com/product- category/winterwear/ mens/"

to be converted to
"www.xyz.com/product-category/winterwear/mens/"

White space could be anywhere in the URL. I want apache rewrite rule to be
written for this purpose. Any other way is also welcome.


Any help would be appreciated.

Thanks,
Win Loo
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!