Jump to content


Photo

Special URLs


  • Please log in to reply
1 reply to this topic

#1 araknid

araknid
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 05 March 2006 - 05:43 PM

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!

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 05 March 2006 - 06:06 PM

This is not a PHP feature but an Apache feature. Look into mod_rewrite and make sure your hosting account can use .htaccess.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users