kfir91 Posted February 4, 2011 Share Posted February 4, 2011 i have this: site/index.php?p=editArticle&id=1 i have $title = "editarticle/1"; i want site/$title with php how? Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted February 4, 2011 Share Posted February 4, 2011 <?php echo "site/$title"; ?> Quote Link to comment Share on other sites More sharing options...
kfir91 Posted February 4, 2011 Author Share Posted February 4, 2011 its not funny i mean to freindly urls seo with htaccess and php http://mysite.com/site/editarticle.php?id=1 $title="editarticle/1"; i want http://mysite.com/site/$title Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted February 4, 2011 Share Posted February 4, 2011 ah, more information. have you tried searching google? http://www.google.com/search?client=safari&rls=en&q=php+seo+friendly+urls&ie=UTF-8&oe=UTF-8 Quote Link to comment Share on other sites More sharing options...
kfir91 Posted February 4, 2011 Author Share Posted February 4, 2011 i searched :\ i dont found anything thats the reason that i asked here Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.