Hi Everyone, I have the follow RewriteRule in my htaccess file that works as it should

RewriteRule ^(.*)$ /product.php?pid=$1 [QSA,L]

If I wanted to add another product page would I just need to add

RewriteRule ^(.*)$ /productpage.php?ppge=$1 [QSA,L]

for the Rule to work correctly?
Thanks in advance

Recommended Answers

All 2 Replies

Yes. However, you probably meant ?page= and not ?ppge=

Hi Dani, yes thanks I did...

Thanks for your reply

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.