Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
768 views
in Q2A Core by
how to add a trailing slash end of the url?

1 Answer

0 votes
by
edited by
I'm not sure why you'd want to do this (perhaps you'll explain in a comment?) In any event, add this inside the function qa_path(...) in qa-base.php:

if (strlen($requestpath))
    $requestpath.='/';
       
... just before this line ...

switch ($neaturls) {
...