开发者

How to display website.com/a/b in the address bar instead of website.com/?x=a&y=b

It's possible to display parametres as a folders (order counts). How to do that?

As result, website.com/?x=a&y=b&z=c would look like website.com/a/b/c - shorter and easier.

Does it depend on server hosting settings? Should I contact hosting customer support ab开发者_高级运维out this question? Or, that's just a php issue (some options of $_GET method)?

Thank you. P.S. How to differ website.com/?x=a and website.com/?y=b ?


You're looking for URL rewriting.


Whererver the site is hosted, if it is a IIS server with sql server. The site's domain name and other FURL details will be held in a table on the database. This will need to be updated. and restart the server. Do you have control of this database locally?

With regard to PHP. You can chance the httpd settings and upload this to the server/host.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜