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? Link to comment https://forums.phpfreaks.com/topic/226625-freindly-urls-with-php-and-htaccess/ Share on other sites More sharing options...
BlueSkyIS Posted February 4, 2011 Share Posted February 4, 2011 <?php echo "site/$title"; ?> Link to comment https://forums.phpfreaks.com/topic/226625-freindly-urls-with-php-and-htaccess/#findComment-1169659 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 Link to comment https://forums.phpfreaks.com/topic/226625-freindly-urls-with-php-and-htaccess/#findComment-1169660 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 Link to comment https://forums.phpfreaks.com/topic/226625-freindly-urls-with-php-and-htaccess/#findComment-1169661 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 Link to comment https://forums.phpfreaks.com/topic/226625-freindly-urls-with-php-and-htaccess/#findComment-1169664 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.