![]() |
| DRC Forum
» Personal Interests » Computers » how to change error 404 page using htaccess » Page 1 of 1 |
|||
![]() ![]() |
|||
| Author | Message |
|---|---|
|
Wednesday, October 25 2006, 13:32:53 #37246 how to change error 404 page using htaccess I want to change the 404 page on my website. I read up on google how to do it and it said you need to edit .htaccess files on your webserver. I checked and it's not there (I also followed instructions in help file to display hidden files in FTP program, still wasn't there). I then tried creating a .htaccess file in notepad and saving it to my computer, it didn't work. The tutorial on the web clearly states that the file should be typed exactly how I type it ".htaccess" without speech marks, but with the full stop. An error message comes up saying you have to enter a file name. Life's a bitch.
Any ideas? |
|
| Profile | Send PM | AIM | YIM | MSN | ICQ | |
|
|
|
| WWW | |
|
Wednesday, October 25 2006, 15:35:47 #37260 Use Putty to connect to your webserver. Put the .htaccess file one folder HIGHER than your webpage. That should make it work. Ask Wartex to be sure |
|
| Profile | Send PM | |
|
Wednesday, October 25 2006, 15:50:38 #37262 Oh, I just noticed you weren't having troubles uploading but to name it properly. It's not life that's a bitch, it's windoze. Use FTP to upload this file as temp.txt in ASCII mode to the directory where your website's at and then use FTP to rename to .htaccess
For this to work I hope your webserver runs *nix |
|
| Profile | Send PM | |
|
Wednesday, October 25 2006, 15:54:10 #37263 Ok... here's another funny fact. When you use START-R to run CMD.exe you can use the command RENAME to rename any file to .htaccess. well.... my 3 cents I guess.
|
|
| Profile | Send PM | |
|
Wednesday, October 25 2006, 16:00:50 #37264 Thanks Zy, fixed! The rename cmd worked in cmd.exe, thanks. |
|
| Profile | Send PM | AIM | YIM | MSN | ICQ | |
|
Wednesday, October 25 2006, 16:11:01 #37265 Well you learn something new everyday, thanks Zy! www.j-rose.co.uk/madeuppagefullofcrap.html Check it out |
|
| Profile | Send PM | AIM | YIM | MSN | ICQ | |
|
Wednesday, October 25 2006, 16:23:42 #37266 Hotlink test:
[edit] it worked [/edit] |
|
| Profile | Send PM | AIM | YIM | MSN | ICQ | |
|
Wednesday, October 25 2006, 16:38:18 #37269 Few things about this topic. First of all, big thanks to Zyprexa for accurate and useful info. Try to post everything in 1 post, or edit previous ones though.
Now, I'm going to molest Death for naming topic in a very gay way. Please read: http://forum.drc.su/post36346.html#36346 Last reply is yours, isn't it ironic? Anyhoo, topic name should be "how to change error 404 page using htaccess" _________________
|
|
| Profile | Send PM | WWW | AIM | YIM | MSN | SKYPE | ICQ | |
|
Thursday, October 26 2006, 04:40:04 #37298 Well War, I figured I'd let everyone know how much of a dumbass I was with my first assumption. I DID think about posting in one post. I will from now on. |
|
| Profile | Send PM | |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum |