Forum Moderators: phranque

Message Too Old, No Replies

url rewrite symbol % problem

         

iBorg

6:37 pm on Jan 3, 2010 (gmt 0)

10+ Year Member



Hi all, I've recently enabled the url rewrite feature on my site. However, there is some slight problem when the page title that I have carries the percentage symbol. After the url is converted, I have a static url like:

http://www.example.com/product-190%.html

The url is not clickable due to the invalid character in url. Removing the symbol % from my page title is out of the question since it's an important symbol that must be there. Is there a way for me to omit the symbol or to substitute it? Thanks.

g1smd

7:05 pm on Jan 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You'll need to amend the script so that it changes the % to something else or removes it when constructing the URL to be used in internal site links.

Then the part that matches URL requests with database entries needs to be aware of that and have the reverse handling.