Jean Bessanio
asked 9 years ago

I found an solution to the redirect plan after asking a question here ..

http://www.designwall.com/question/how-can-we-redirect-after-question-asked/

LIkewise how can i redirect to a custom page after answering or clickingon "add answer" ?

2 Answers
DominicStaff
answered 9 years ago

Hi,
To redirect users to a different page when user submit a answer, please open the \wp-content\plugins\dw-question-answer\inc\action.php file. Find the line 128.
Find the line code around line 128:
wp_redirect( get_permalink( $question_id ) );

The replace with the following code:
wp_redirect('https://your-site.com');

Hope this helps !

Jean Bessanio
answered 9 years ago

Thanks.. gr8 stuff..

Powered by DW Question & Answer Pro