Jump to content

.htaccess file


mmarif4u

Recommended Posts

I suggest you use an editor like "Notepad ++"! Considering that the default windows note pad wont let you make files with the name ".htaccess"!

 

---------------------------------------------------------

You can get it here!

http://notepad-plus.sourceforge.net/uk/site.htm

---------------------------------------------------------

 

If you get it;

 

1. Open Notepad++

2. insert whatever you need

3. save as .htaccess

---------------------------------------------------------

 

Sorry i don't know where to put it on your local computer but i hope this helps!  :) pkirsch

---------------------------------------------------------

 

P.s I've found a cool little freeware utility for creating (all the basic features of an .htaccess file!)

 

http://www.download.com/HTAccessible/3000-2181_4-10401124.html

Link to comment
https://forums.phpfreaks.com/topic/40310-htaccess-file/#findComment-195013
Share on other sites

.htaccess files goes in the same folder as where you upload/place your website files to.

 

you do not provide a file name when creating an .htaccess file, it is just ".htaccess" (minus the quotes). To create a .htaccess file open notepad and go to file > save as

 

Then type .htaccess in the file name box and set the file type to All files. Click save. the .htaccess file is now created.

Link to comment
https://forums.phpfreaks.com/topic/40310-htaccess-file/#findComment-195412
Share on other sites

you do not provide a file name when creating an .htaccess file, it is just ".htaccess" (minus the quotes). To create a .htaccess file open notepad and go to file > save as

 

Just so you know if you open notepad (though I still perfer wordpad) and click save with quotes ".htaccess" it creates the file with no added mumbo jumbo as .htaccess. ;)

Link to comment
https://forums.phpfreaks.com/topic/40310-htaccess-file/#findComment-195906
Share on other sites

I take it you're making your site in a folder on your PC? Follow these instructions...

 

1. Open "Notepad" and save "my.htaccess" to where your web site is on your PC

2. Using your FTP program, upload it to the server (usually public_html)

3. Rename the file on the server from "my.htaccess" to ".htaccess"

4. Download ".htaccess" to where "my.htaccess" is located

5. Delete "my.htaccess" from your PC

 

You should now have only ".htaccess" one on your PC and one on the server.

 

Windows really doesn't like letting you create files without a filename and only a file extension but when downloading files you can break this silly limitation. Now you've downloaded your ".htaccess" file from the server after renaming it there you can happily edit it like any other file just don't rename it!

 

Have fun!

Link to comment
https://forums.phpfreaks.com/topic/40310-htaccess-file/#findComment-195917
Share on other sites

XP SP2

The default setting for Windows is that it HIDES the file extensions for files. This is to "help protect" users from changing the file extension. Many (including me) turn this off. Example, it prevents people changing a file extension from ".mp3" to something like ".txt" which would then render the file useless unless it was renamed back.

 

Control Panel>Folder Options>View(tab)>Hide extensions for known file types (untick)

 

As I say before, follow the steps above because Windows will not let users create files without filenames. If you have the above option ticked then you'll really be creating a file called ".htaccess.txt" although it'll show as ".htaccess" on your computer.

Link to comment
https://forums.phpfreaks.com/topic/40310-htaccess-file/#findComment-195928
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.