Hi everyone,
I recently installed JoomSEF 2.2.0, it's working fine, displaying the friendly URLs by category and title.
I am trying to explode the created friendly url string into an array to get some values but the following code results in:
<?php
echo \"
\" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
// Gets
localhost/joomla_test/index.php instead of localhost/joomla_test/categoryA/page.php
echo $_SERVER['REQUEST_URI'];
// Gets /joomla_test/index.php?option=com_content&task=view&id=16&Itemid=36
instead of /joomla_test/categoryA/page.php
echo $_SERVER['PHP_SELF'];
// Gets /joomla_test/index.php
instead of /joomla_test/categoryA/page.php.
?>[/color]
Apache .htaccess is standard:
########## Begin 3rd Party or Core SEF Section
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End 3rd Party or Core SEF Section
Trying to get the url always results in the url before it was changed by JoomSEF.
I cant figure out if it is the .htaccess file or what?
Brilliant component by the way, excellent work.
I'd really appreciate any help
Post edited by: zoo881, at: 2007/10/16 00:50<br><br>Post edited by: zoo881, at: 2007/10/16 00:51