• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hello. I just posted a new "tutorial" about having "truly" SEO urls

#3
Hello,
Thank you for sharing ,

In the code has some problems when applied .
Eg: base ( ' auth / edit_user / 1 ' ) --- > real url : localhost / authedit-user
not "/" and parameter

I think you should add a few lines of code :

line 54 :
Code:
$url .= str_replace( '_' , '-' , $segments[0] . '/');

and
Code:
if (count($segments) > 2)
{
   for ($i = 2; $i < count($segments); $i++)
   {
         $url .= '/'.$segments[$i];
   }
}
above : header('Location: '...........);
Reply


Messages In This Thread
RE: Hello. I just posted a new "tutorial" about having "truly" SEO urls - by nguyenanhnhan - 03-23-2016, 08:32 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.