Posted By

nico65 on 02/23/11


Tagged

joomla index2php sef


Versions (?)

joomla index2.php and sef


 / Published in: PHP
 

URL: http://forum.joomla.org/viewtopic.php?f=199&t=561906

index2.php dosent work with sef on in joomla 1.5 a solution that i found in the forum works unfortunately its a hack.

/includes/router.php

  1. // if($app->getCfg('sef_suffix') && !(substr($path, -9) == 'index.php' || substr($path, -1) == '/')) <- uncomment this line (56)
  2.  
  3.  
  4.  
  5. if($app->getCfg('sef_suffix') && !(substr($path, -9) == 'index.php' || substr($path, -10) == 'index2.php' || substr($path, -1) == '/')) //replace it with this line

Report this snippet  

You need to login to post a comment.