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

Script seems powerful and useful for many purposes. So, i am looking to use this script for differant purpose other than question and answers site. For these purpose i need to rewrite the Page URL's, Page Anchor text.

For Example turn them like

1. Anchor Text : Ask a Question > Post Your Requirement

2. Url : http://www.sitename.com/ask into http://www.sitename.com/post

3. "Ask A Question" Page Title into "Post Your Requirement" and many changes in the http://www.sitename.com/ask page body content.

How can i do that?
Q2A version: 1.6.2

1 Answer

+1 vote
by

Hello, QUestions like the one you have asked have already been answerd in the forum prior to this. Please search through for finding out many other use cases of url changes. Anyways, for your specific requirement you need is this:

1. edit qa-config.php file

2. un-comment the $QA_CONST_PATH_MAP section and add the new urls for the default urls in that array. So for your requirement add an entry like "ask" => "post"

Now for changing the Question page title, you can do so along with others in the qa-lang-main.php file inside qa-include folder.

Please let me know if this helped.

...