PDA

View Full Version : Need to Create an .htaccess file


liveforever
09-25-2009, 03:23 PM
I need to redirect some old, deleted webpage addresses over to the main address (home page) of my website at www.rainbowriting.com - so I need to create an .htaccess file and put it into the root directory of my website. However, try as I might I can't seem to do this. Every time I try to create a file using Notepad (making a txt file) it won't input into my website, no matter where I try to put it or how I try to put it in.

It doesn't work to create it as an HTML or txt file in my website creator (which happens to be MS Expression Web 3) and then rename it to .htaccess withouth the .html or .txt extension. I can't even get it to upload into the root directory with either of those file extensions still attached. It doesn't like the . in front of the filename, apparently. I can only load in a file named htaccess.txt or htaccess.html, and then I'm unable to change the filename to .htaccess alone - or .htaccess.txt or .htaccess.html also.

I can't log in to the CPanel of my web host and make this change either, unless there's a way to do it by inputting it under filenames somehow. I have no idea how to do that. And my web host has no idea what to do to help me here. I have no desire also to change web hosts at this point, although this matter is important to me as I have several orphan links pointing to pages in my website which no longer actually exist, and I need to redirect them to my home page.

Help! Please reply to karencole@rainbowriting.com and if that doesn't work to karenperalta41@msn.com - thank you very much for any help you can give me.

mjp
09-25-2009, 03:49 PM
.htaccess is used on unix servers, it will not work on a Windows server.

There is not a tool in Control Panel to perform single-page redirects. You already have redirects set up on the orphaned pages according to your support ticket. I think your best bet would be to leave them there and not overcomplicate the issue.