I have a website where I'll be creating a dynamic page for each country once I have enough info about it. So I wouldn't start off with all countries I'm using RewriteRule in .htaccess since it's a dynamic content which pulling data from MySQL database. The pages like :
and in the htaccess I do something like this : RewriteRule us/$ content.php?id=us
Now, my problem is, I have to create a new line in my htaccess for each country I decide to put its page up So it would give an 404 error for any country I'm not ready to publish the content of it yet.
Is this the best way to handle this situation or do you have any other suggestions? Since right now I might have 15 countries ready but I'll be heading to over 165 countries later and I'll have to do it separately for each one.
Thank you so much in advance for helping me out here.