Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,125 members, 7,957,222 topics. Date: Tuesday, 24 September 2024 at 09:23 AM |
Nairaland Forum / Science/Technology / Webmasters / Shorten Link With Php (1143 Views)
How To Change URL To Clickable Link With Different Name / Help on How To Integrate Webpay And Referral Link With Bulk Sms Website / Earn $50 Or More Daily By Sharing Link With Friends (2) (3) (4)
Shorten Link With Php by Nobody: 5:26pm On Feb 21, 2012 |
i need a way to shorten long link like http://www.wpnhy.com/selltore.php?user_id=29 to something like this http://www.wpnhy.com/mikesell |
Re: Shorten Link With Php by DualCore1: 5:40pm On Feb 21, 2012 |
Put the following in your .httaccess file
This will make http://www.wpnhy.com/selltore.php?user_id=29 and http://www.wpnhy.com/29 point to same location. If it doesnt work, fix my code. |
Re: Shorten Link With Php by Nobody: 7:47pm On Feb 21, 2012 |
Thanks will check it out |
Re: Shorten Link With Php by Nobody: 9:41pm On Feb 21, 2012 |
showing error |
Re: Shorten Link With Php by DualCore1: 9:51pm On Feb 21, 2012 |
shaaaaamamoooo abarahhhhhhhkaaaaaamamoooooo, sheeeeeeeeekaaaarasheeeekaaaaa. . . relax bro i'm just doing my normal voodoo to get the error message from ur mind. wht the heck is the error joooor |
Re: Shorten Link With Php by Nobody: 9:57pm On Feb 21, 2012 |
its says server error when if i remove it to from .htcess file everyting comes back to normal |
Re: Shorten Link With Php by Nobody: 10:56pm On Feb 21, 2012 |
It is possible that you need to turn on the apache rewrite engine on your server, especially if you are working on localhost. I explained something about this on my blog - http://www.blogs..net/content/apache-rewrite-engine-joomla-drupal-and-other-cmses It is one of the many causes of internal server error. |
(1) (Reply)
Is Clickify.tk A Scam? / Resolved! / Can S.M.F be used Offline with Wamp server
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8 |