Hi all,
i have hosting in www.dreamhost.com
i created .htaccess file in order to hide file extension. and then i upload my .htaccess file to the server but after i uploaded this to the server this file disappeared. how can i do that this file works.
can anyone help me?
thanks for attention

Recommended Answers

All 4 Replies

In which folder you uploaded the .htaccess file in webserver.
and what have you written in .htaccess file..

first i uploaded ti to the my web page root folder. and then i tried it other folder.
but it returned the same result

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php

i tested but it doesn work. it works as previos

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.