araknid Posted March 5, 2006 Share Posted March 5, 2006 I have noticed that some sites that use PHP have URLs that look like this:[a href=\"http://sitename.com/category/blah\" target=\"_blank\"]http://sitename.com/category/blah[/a]Such as digg:[a href=\"http://digg.com/science/Man_recites_over_22,000_digits_of_pi,_from_his_memory\" target=\"_blank\"]http://digg.com/science/Man_recites_over_2...from_his_memory[/a]Can someone please tell me how this is done?Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/4152-special-urls/ Share on other sites More sharing options...
wildteen88 Posted March 5, 2006 Share Posted March 5, 2006 This is not a PHP feature but an Apache feature. Look into mod_rewrite and make sure your hosting account can use .htaccess. Quote Link to comment https://forums.phpfreaks.com/topic/4152-special-urls/#findComment-14422 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.