Forum Moderators: coopster
I have my website hosted through yahoos web hosting.
If that at all makes a difference.
Thank you.
Go to your WWW root, usually it looks like this -
path: /home/username/public_html
Look for the file named .htaccess. If it's not there, create a blank page using NotePad or Dreamweaver and save it as .htaccess
Now edit this file by adding the following lines:
code:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
Save and close the .htaccess file. Upload it to your webserver (to your WWW root) and that's it!"
I am confused. First of all I cant find a file named .htaccess , second you cant create a page called .htaccess because it starts with a period.
So how do I do this?
".htaccess (Hypertext Access)
The name .htaccess refers to the main configuration file for Apache, a popular open-source HTTP server. The .htaccess file can be used to create custom error pages and web page redirects, set up password protection, enable SSI, and more. Yahoo! does not currently allow you to upload .htaccess files to your account. For other customization options, we recommend the Custom Error Pages and password-protection features available in your Web Hosting Control Panel. "
Iam guessing there is no other way to do what I want to now?