Hi there,
at the beginning I must admit that I am not good at PHP. I made a few websites in HTML but now I don't know what happened and what to do with it.
I wanted to change a few things at http://www.tips2.pl/ which is made in PHP. Everything worked fine till I placed a ".htaccess" file on the server. I wanted to disable an URL without "www.": http://tips2.pl and left only http://www.tips2.pl/.
I transfered a ".htaccess" file from my another project. It looks like this:
Options +FollowSymlinks -MultiViews
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{REQUEST_URI} ^(.*/)index\.html$ [NC]
RewriteRule . http://www.%{HTTP_HOST}%1 [R=301,NE,L]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule . http://www.%{HTTP_HOST}%{REQUEST_URI} [NE,R=301,L]
RewriteCond %{REQUEST_URI} ^(.*/)index\.html$ [NC]
RewriteRule . %1 [R=301,NE,L]
Since this moment I can see only main page, all the subpages are not found.
How can I fix this?
Thanks in advance.
kukula