Jump to content


This topic is now archived and is closed to further replies.


Special URLs

Recommended Posts

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?

Share this post

Link to post
Share on other sites
This is not a PHP feature but an Apache feature. Look into mod_rewrite and make sure your hosting account can use .htaccess.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.