Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
May 22, 2016 at 4:08 am #933224
Hi, im using ErrorDocument 404 /index.php on htaccess but is not working, still redirecting to a custom 404 template error page.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 22, 2016 at 5:29 am #933245Hi 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
AuthorPostsViewing 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