Jump to content
Larry Ullman's Book Forums

Recommended Posts

Hi Greetings,

Thank You Sir for the great support in the learning process.

My question is - On the browse page I wanted to give a category name Books & DVDs for the non-coffee products. But when the page is loaded it is not displayed.

If I URL ENCODE this name it will become Books+%26+DVDs.

And my htaccess file is

# For specific products:
RewriteRule ^browse/(coffee|goodies)/([A-Za-z\+\-]+)/([0-9]+)/?$ browse.php?type=$1&category=$2&id=$3

I have tried         RewriteRule ^browse/(coffee|goodies)/([A-Za-z0-9%\+\-]+)/([0-9]+)/?$ browse.php?type=$1&category=$2&id=$3

but it is working. I have tried other patterns also.

I don't know how to modify it.

Please provide the guidance.

Thank You,

Share this post

Link to post
Share on other sites

Try escaping the % sign. That's often the solution in situations like this, where a character may have special meaning.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...