ShortUrl: why does it choose one line over another?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

ShortUrl: why does it choose one line over another?

Post by simonmlewis »

[text]RewriteRule ^ihome/([^/]+) /index_ip.php?page=ihome [L]

RewriteRule ^([^/\.]+)/?$ index.php?page=$1 [L][/text]

When I go to site.local/ihome.... it goes to index.php?page=ihome.
Yet the ihome rule is above it.

I have tried it the other way around too.

I need to force ihome to a particular template file.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply