Htaccess alow few .htm and .html files only?

RewriteRule ^(aboutus|home|projects)\. Html/? $ index.

Php? Page=$1 PS. Why do you want to keep the '.

Html' part in your urls? They don't really add anything.

Thank you for you help, . Html is just for fun. ;) – noorahmad Nov 14 at 7:51 thanks mate, your one line script solved my all problems.

;) – noorahmad Nov 15 at 8:15.

As I said in my comment, you could do the verification directly in your php script. Anyway if you really want to do that with an . Htaccess file you might consider using RewriteMap : Apache documentation.

However it can be a bit complex if you're not familiar with it and if the verification apply on a small set of files should be better to use the RewriteCond directive : RewriteCond %{REQUEST_URI} ^/(aboutus|home|projects) RewriteRule ^(^/\. +)(.*)? $ index.

Php? Page=$1 L.

Thanks mate.... – noorahmad Nov 14 at 7:54 @noorahmad you're welcome, I edited the code, cause there were some issue with it (the starting slash and the possible path after the first segment in your uri). I hope that will help. – Oddant Nov 14 at 8:08 thank you for your reply, but still I have some problems.

Edit: This line of code helped me a lot: RewriteRule ^(aboutus|home|projects)\. Html/? $ index.

Php? Page=$1 in case anyone face with the same problem – noorahmad Nov 15 at 8:18.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions