assaf 0 Newbie Poster

Hi

I'm trying to create tag pages based on one php page that will be re-written to the tag/[tag].html

I'm not a programmer so my question is pretty basic. What I have done until now is to create the tagdetail.php and a call to the tag pages that have this address mydomain.com/tag/[$tag_dash].html (example: mydomain.com/tag/mortgage.html). In addition I have added a this line to the .htaccess file:
RewriteRule ^tag/.*\.html$ tagdetail.php?tag_dash [L]

From what I understand, it looks like the tagdetail.php "doesn't know" it is being called. In addition, I'm not sure how the tagdetail.php is supposed to work with variables even if it is nor re-written.

What should I add or fix in order that it will be called and work?

Thanks

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.