As I knows,Q2A's Nav URL looking like this:
http://domain.com/questions
and the Question URL looking life this
http://domian.com/1111-some-thing-about-questions
So the English URL is not friendly for my language,and I found a way to change URL looking,
I added
if (is_numeric($requestparts[0])) { unset($requestparts[1]); }
after
$requestparts=explode(‘/’, $request);
in the corefile
question2answer\qa-include\qa-base.php
so now the URL will be like this
Nav URL looking:
Question URL looking:
http://domian.com/1111
But I found with only number"1111" after domain is too short……
I wanna it like this
http://domian.com/q/1111
or
http://domian.com/q/qn1111
and I also want Nav URL keeps looking like this
and if it really difficult to do,looks like this would be ok too
http://domian.com/q/questions
Are there any solutions?
sorry for my poor English,Hope you guys could understand me.
Set 0 in Question title length in URLs and question url will be like this:
Http://domain.com/1234
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.