Routes and Outside URL's |
[eluser]Freewolf[/eluser]
Greetings all, Can I use the routes file to redirect to a url rather than a controller. No appearing to work but wondering if there is something that can be adjusted to make it work. If not, I am using wordpress for the blog and we need it to appear to be at www.domain.com/blog however that would put it in CI and how it handles the URL's. Any suggestions on how to make that work?
[eluser]Cristian Gilè[/eluser]
You can use a route that redirects to a controller function, and this, in turn, redirects to www.domain.com/blog with a header: Code: function redirect_to_blog Cristian Gilè
[eluser]Freewolf[/eluser]
This does not quite solve my problem. As once redirected the url is where the blog actually resides. I want the URL seen by the end user to be http://www.domain.com/blog How do I do this when inside the CodeIgniter frame work? |
Welcome Guest, Not a member yet? Register Sign In |