简体   繁体   中英

Remove question mark from URL other than PHP . ID

I have a website, developed by some developer, the website is with me now.. The issue is the website have a "?" with in the URL..

eg.

http://www.imljeans.com/?/collection/search_by/women/2

Is there a way to remove "?" from this url... if I remove this "?" from the website, the website stops working. all pages on the website have the same issue.

Is there a way to sort this...

You have to take advantage of url rewrite with .htacess

Basically a rule like

RewriteRule ^?/(.*)$ /$1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM