Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to redirect this url?

    Hello All
    Can any one tell me how to redirect the url having comma and space after .html
    like : <url>.html,<space>

    i have tried this and none of this working
    RewriteRule ^abc\/xyz\.html,$ /abc/xyz.html [r=301,nc]
    RewriteRule ^abc\/xyz\.html\,\ $ /abc/xyz.html [r=301,nc]
    RewriteRule ^abc\/xyz\.html,\ $ /abc/xyz.html [r=301,nc]
    RewriteRule ^abc\/xyz\.html\, $ /abc/xyz.html [r=301,nc]

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Would there be anything other than space and comma after .html, to be treated differently?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by abduraooft View Post
    Would there be anything other than space and comma after .html, to be treated differently?
    Yes. after .html it is treating differently atleast for my website's url.
    Last edited by yashsaxena; 05-24-2011 at 06:47 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •