Here's an example...
To narrow down the possible fault causes I created a simple .htaccess file with just these two lines...
Code: Select all
RewriteEngine On
RewriteRule ^test(.*)$ /index.php?option=com_mycomponent&view=listings [NC]
If i put the following in my index.php file...
Code: Select all
echo '<pre>';
print_r($_GET);
echo '</pre>';
exit();
Array
(
[option] => com_mycomponent
[view] => listings
)
So the .htaccess is working fine and variables are passed so why is Joomla displaying 404 Page?
If I access it directly like https://www.mywebsite.com/index.php?opt ... w=listings it's working fine.
This is working fine in Joomla 3.x but not in Joomla 4.x
Any thoughts?