• 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic