Hello Everyone,
I use Search Engine-Friendly URLs with URL Rewriting on t4 BS-5 Blank, and the 404 error page on all five of my websites is a problem.
When a url is not found the 404 page “Home Page” link button takes you to websitename.com/index.php - rather than mywebsitename.com. The url is not being rewritten even though SEF is turned on.
I investigated this problem and found that the file error.php under bs5 blank has code on line 93 that is causing this error. I removed the 'index.php' text from the code below and the problem is fixed.
line 93 error in error.php on t4bs5blank:
<div class="page-redirect">
<a href="<?php echo $this->baseurl; ?>/index.php" title="<?php echo Text::('JERROR_LAYOUT_HOME_PAGE'); ?>"><?php echo Text::('JERROR_LAYOUT_HOME_PAGE'); ?></a>
</div>
Could you investigate this and fix the problem for everyone so we do not have this error?
Thank you
Using the current version of J4