+ Reply to Thread
Results 1 to 3 of 3

Thread: Undefined 404

  1. #1
    Junior Member
    Join Date
    Jun 2018
    Posts
    29

    Undefined 404

    Greetings,

    If someone can guide me please, I want to make all 404 errors to be redirected to hommepage.

    can it be done from .htaccess file? by following

    ErrorDocument 404 /index.html

    if not this way, then please guide me how to get it done.

    Thanking you

    Kind Regards
    Sam

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Posts
    810
    Hello,

    you can add the following code to index.php below this row $rlStatic->addSystemFiles(); like:

    PHP Code:
    Only registered members can view the code

  3. #3
    Junior Member
    Join Date
    Jun 2018
    Posts
    29
    Thanks very much Rudi, have a good weekend

+ Reply to Thread