Welcome Guest, Not a member yet? Register   Sign In
.htaccess - redirect old link to new link
#3

[eluser]dootzky[/eluser]
Hi Gavin! Smile

Thanks for your reply, and the idea, but I'm not sure that will work.

The thing is: if I have index.php and article.php files in the project root, and if I allow in .htaccess RewriteCond for article.php to be reachable, the "normaln CI" URL link won't work. Sad

It's pretty strange, acctually.

So, I'm not sure if I can use that $this->input->get() method, since I'm not getting to CI at all if I go to the link:
www.mysite.com/article/84

that link goes straight to "article.php" file in the root of the project, right next to "index.php" (CI main index file..).
I'm not sure if this makes any sense at all, perhaps you could make a little test in some of your projects, just to see for yourself what's my problem, if you have few more minutes of time.. :\

thanks again, I'll try to find a workaround again tommorrow, gotta crash now..
maybe I could use some info from the $_SERVER variables, to deremine the page URL or request... hmmmm.. -.-


Messages In This Thread
.htaccess - redirect old link to new link - by El Forum - 09-14-2008, 03:37 AM
.htaccess - redirect old link to new link - by El Forum - 09-14-2008, 02:18 PM
.htaccess - redirect old link to new link - by El Forum - 09-14-2008, 04:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB