Welcome Guest, Not a member yet? Register   Sign In
Routing example in user guide doesn't work?
#7

[eluser]xenon-dev[/eluser]
I'm not being rude. However, you've got an issue with that thingie. Let's get it straight:

Code:
journals/somepage != journals/

That means...get the url journals/ (AND ONLY THAT), and redirect it to some url called blogs/. And that's where it stops. It's like the .htaccess file (if you know how it works). You put in:

Code:
RewriteRule ^somedir/$ someotherdir/

and you expect it to automatically do these things:

Code:
RewriteRule ^somedir/first/$ someotherdir/first/
RewriteRule ^somedir/second/$ someotherdir/second/
RewriteRule ^somedir/third/$ someotherdir/third/

# and the list can go on...

It just won't do it. He lives with the idea that he's your master and he won't change his mind Big Grin That's where regex kicks the door and says "no! I'm your master". You know? :)


Messages In This Thread
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 08:20 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:13 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:24 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:27 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:51 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:53 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 12:00 PM
Routing example in user guide doesn't work? - by El Forum - 09-04-2007, 07:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB