I have a web portal based on the Cricket concept. I created a custom CMS where I can upload news for the site
As soon as I download the news, the URL will be like this http://cricandcric.com/news/news.php?id=841&An-emotional-moment:-Dhoni.html
But I try to have the above URL as follows (something like this) http://cricandcric.com/news/An-emotional-moment:-Dhoni.html
Or similarly to Stackoverflow.com,
Can someone help me how can I build this? Do I need to rewrite the URL?
, URL. .
, , , URL-. ( ".html" )
, , URL-. URL- http://cricandcric.com/news/An-emotional-moment:-Dhoni.html " " http://circandcric.com/news/index.php?title=An-emotional-moment:-Dhoni". index.php . ( URL- ), , , . , , Stackoverflow (ID URL-, ).
, Dude,.htaccess ..... Chk --- .htaccess URL?
Source: https://habr.com/ru/post/1741888/More articles:functional concept - c ++Newbie: sending data over sockets - c ++How to change the JSON output format and how to support the Chinese character? - jsonError creating Rails DB with rake db: create - ruby | fooobar.comIs there a way to manipulate the variables passed to the constructor of the child class before passing it to the base class? - inheritanceКак запланировать несколько заданий в планировщике кварца, используя тот же триггер? - javaCross-thread delegation and exclusion - multithreadingКаков самый быстрый/лучший Base64 en/decoder для Java? - javaMatch HTML tags on two lines using regex in Python - pythonBest approach to write huge XML data to a file? - c #All Articles