Solved

CL

Posted on 2011-09-02
5
175 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:umaxim
  • 2
  • 2
5 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 36474988
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
 
LVL 1

Author Comment

by:umaxim
ID: 36474998
i try it is not working can you give some example
0
 
LVL 17

Accepted Solution

by:
psimation earned 500 total points
ID: 36475582
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
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 36476127
You can make short links with the service from Bit.LY -- very useful!
https://bitly.com/
0
 
LVL 1

Author Comment

by:umaxim
ID: 36477896
But what about special function in codeigniter to replace link to make it shorter. How it works
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now