jvc 0 Newbie Poster

hi guys,

Would somebody help me PLEASE. I have the conditions and rules below

RewriteCond %{REQUEST_URI} ^/kid.html [OR]
RewriteRule ^(.*)\.html$ - [C,E=id:24]
RewriteCond %{REQUEST_URI} ^/baby.html [OR]
RewriteRule ^(.*)\.html$ - [C,E=id:25]

RewriteRule ^(kid|baby)\.html$ /index.php?id=%{E:id} [L]

what is happening is the E:id never gets initialized. whenever the condition is met index.php would show the main page and not kid or baby.

Any ideas? Is there any way to redo this codes?

Thanks for your help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.