php - how to automatically put title in url -


how site put title of question dynamically url bar.

is through rewritemapping , mod rewrite , how can on normal web host. thanks

in url:

https://stackoverflow.com/questions/10903041/how-to-automatically-put-title-in-url 

the part matters question id, 10903041. set redirection rule ignores @ end of url, this:

rewriterule /questions/(\d+) question.php?id=$1 

the php script can redirect correct title if title not provided or incorrect; happens when visit https://stackoverflow.com/questions/10903041/why-is-this-question-title-so-wrong?.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -