WordPress.org

Ready to get started?Download WordPress

Forums

mTouch Quiz
[resolved] [mTouch Quiz 2.3.3] 404 not found when WP is installed in a sub directory (2 posts)

  1. biswajeet
    Member
    Posted 2 years ago #

    Hi, I would like to point out that when WP is installed in a sub folder, creating quiz/question gives a 404 Not Found error. I investigate the matter and found that the problem lies in the following 2 lines

    File: quiz_action.php

    wp_redirect($wpframe_home . '/wp-admin/admin.php?page=mtouch-quiz/quiz.php&message=updated');
    
    wp_redirect($wpframe_home . '/wp-admin/edit.php?page=mtouch-quiz/question.php&message=new_quiz&quiz='.$quiz_id);

    For eg -
    If WP is installed in a sub folder - /wp, then the above two line will redirect after the form is submitted to the root / instead of /wp/ and ultimately giving a 404 Error

    I hope the author will fixed this issues on the next upcoming version.

    btw, thanks for the nice extension...

    http://wordpress.org/extend/plugins/mtouch-quiz/

  2. gmichaelguy
    Member
    Plugin Author

    Posted 2 years ago #

    I think this is fixed in 2.4.0. Please report any issues you have.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic