CL

Hi i just begin study codeigniter and i have a problem i want to make short link like
http:/website.com/page/index/page/about_us/
to
http:/website.com/page/about_us/

How i can do it in codeigniter
LVL 1
umaximAsked:
Who is Participating?
 
psimationConnect With a Mentor Commented:
Have a look here.

About halfway through, there is an example that should fit your need exactly.

http://www.workingwith.me.uk/articles/scripting/mod_rewrite
0
 
psimationCommented:
You can use URL re-writing to do this. On Apache, you can use rewriting rules in your .htaccess file in the root of the website.
0
 
umaximAuthor Commented:
i try it is not working can you give some example
0
 
Ray PaseurCommented:
You can make short links with the service from Bit.LY -- very useful!
https://bitly.com/
0
 
umaximAuthor Commented:
But what about special function in codeigniter to replace link to make it shorter. How it works
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.