I have seen several threads on this subject but I don't think any pertain to me in the same sense. Once again I could be wrong.
I created a notepad file called htaccess put it in the root directory and renamed it without the .txt extension.
I was just testing for a one page rename (I need to rename many [many]) with the 301 direct as follows:
redirect 301 /glossary.html http://www.pcvirusdoctors.com/computer- … terms.html
there is a space before the http://
I called up the pcvirusdoctors.com/glossary.html and sure enough it pulled up without the redirect.
The server is linux (godaddy if that means anything). I don't see any controls on the server like I have previously read about in some tutorials and the like. I'm lost.
Dallas Computer Repair
Doctor and Staff (*no follow here)
Moderator
From: Yorkshire, UK
Registered: 2006-08-19
Posts: 2793
I've been thanked 77 times.
Offline
thegreatyo wrote:
I created a notepad file called htaccess put it in the root directory and renamed it without the .txt extension.
could be the problem: htaccess is the extension, so the file name should be.htaccess
note the leading dot .
Member
From: new york city
Registered: 2006-09-11
Posts: 28
I've been thanked 0 times.
Offline
forgetting the leading dot is very common....I forgot it at first and it took me 2 weeks before I figured out what was wrong.
Member
From: Turkey/Tekirdağ/Muratl
Registered: 2006-11-09
Posts: 201
I've been thanked 0 times.
Offline
What does .htaccess file?What is the mission of it?
Manolya Hotel North Cyprus
A vinegar seller with a smiling face makes more money than a honey seller with a sour face.
Simply put, it instructs your server how to respond and what to do with a file request. This gives you control of many functions such as redirects, blocking certain I.P. addresses and much more. Should be used with caution though it is actually a very powerful command if used improperly it can bring down a server.
There is much information on the web about this. Do a search for .htaccess functions or 301 redirect.
Hope this helps.
Dan
Moderator
From: Yorkshire, UK
Registered: 2006-08-19
Posts: 2793
I've been thanked 77 times.
Offline
sis651 wrote:
What does .htaccess file?What is the mission of it?
.htaccess is the unix-apache configuration file for accessing hyper text documents (your website)
you will not find .htaccess on IIS or Windows
Member
From: Pell City, Alabama USA
Registered: 2004-11-17
Posts: 2084
I've been thanked 5 times.
Offline
actually htaccess is not the "extension" - file extensions are windows thingies - Unix hasn't a use for them. a . in a filename is the same as any other character, except for the case where its the first character in the filename, or for the filenames . or ..
TombOfTheMutilated.NET - Destroying The Minds of America's Youth Since 2001
Yeah, I did not have the "." dot in front of htaccess so I changed it to .htaccess to no avail. No redirect. I knew I would be frustrated with my ignorance and have delayed these tasks too long.
Dallas Computer Repair
Doctor and Staff (*no follow here)
Member
From: Turkey/Tekirdağ/Muratl
Registered: 2006-11-09
Posts: 201
I've been thanked 0 times.
Offline
Thanks.I read about .htaccess files in http://www.wsabstract.com/howto/htaccess.shtml
Manolya Hotel North Cyprus
A vinegar seller with a smiling face makes more money than a honey seller with a sour face.
| Never |


