The .htaccess file would generally look something like this:

RewriteEngine On

# For HTML files:
RewriteCond %{REQUEST_FILENAME}.html  -s
RewriteCond %{QUERY_STRING}  ^$
RewriteRule ^(Herbal-Energy-Boosters|other_page_names_separated_by_pipes)/?$  $1.html

# For PHP files:
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^(Herbal-Energy-Boosters|other_page_names_separated_by_pipes)(/.*)?$  $1.php
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.