Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic