I'm transitioning from PHPBB to Q2A. I have imported users and mapped topics in PHPBB to categories in Q2A. The Q2A is a brilliant platform.
Been looking around for an answer to a specific URL challenge.
The struture would like to use on Q2A is much more category oriented than page meaning the main menu is actually categories and not pages.
The URL structure I'm currently using is the one with <domain>/<questionid>/<title> but what I'm really after is <domain>/<category>/<title>-pid<questionid>
I tried to change the .htaccess file to take care of the change like so:
RewriteRule ^([a-z-]+)/([a-z-]+)-pid(\d+) index.php?qa-rewrite=$3/$2&%{QUERY_STRING} [L]
I've made changes to qa-base -> qa_q_request to get the URL return $category.'/'.$title.'-pid'.(int)$questionid; (the category should be passed as 3rd parameter but for now it's just hard coded) to return the desired URL.
But when clicking on links that have the correct format the result is an empty result.
What would be the best way to achieve the desired result and not wreak too much havoc in the core code?