Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • digimark Friend
    #933224

    Hi, im using ErrorDocument 404 /index.php on htaccess but is not working, still redirecting to a custom 404 template error page.

    pavit Moderator
    #933245

    Hi there

    Instead to use the .htaccess you can try with this trick

    Go to this file /templates/ja_rent/error.php and edit it in this way

    add this line of code

    header ("Location: /"); exit();

    just below the

    defined('_JEXEC') or die;

    Then go just before the head section closing tag and add

    <meta http-equiv="refresh" content="0 ;url=http://yourwebsite.com/">;

    Hope it helps


    1. Screenshot_4-5
Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  pavit 8 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum