Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
434 views
in Q2A Core by
edited by

Old

/?qa=123/why-do-birds-sing
 

I want to erase "/why-do-birdes-sing"

/?qa=123

How to do?

If use the old rule,it is very long in chinese language.

http://www.krabi.la/?qa=45/%E8%A7%82%E7%82%B9%EF%BC%9A%E5%A4%A7%E5%AD%A6%E6%95%99%E8%82%B2%E5%88%B0%E5%BA%95%E8%AF%A5%E6%95%99%E4%BB%80%E4%B9%88%EF%BC%9F

 http://www.krabi.la/

 

 

by
I solve it. You can see http://www.krabi.la/ again.

--------------------------------
qa_base.php
function qa_q_request($questionid, $title)
{
require_once QA_INCLUDE_DIR.'qa-util-string.php';
return (int)$questionid;
}

1 Answer

+1 vote
by
If you're on Q2A 1.4 or later, you can also set the "Question title length in URLs" to zero in the 'Viewing' section of the admin panel.
...