Clean URL's


#1

I’m trying to figure out exactly how to go about making clean url’s (ex. no extensions (.html)). Everyone keeps talking about editing my .htaccess file from the server, but when checking on my site hosted here, I do not have a .htaccess file. Am I supposed to make one? or is it hidden somewhere?

Thanks.


#2

Clean URLs are usually about removing extra characters in a URL, such as question marks and equal signs:
http://www.desiquintans.com/cleanurls

If you want to hide extensions, which most people don’t bother with, here’s a link on the topic:
http://www.webmasterworld.com/apache/3715021.htm

And here’s the wiki entry on .htaccess:


#3

Thank you so much! Unfortunately, I cannot locate my .htaccess file. Do I have to create one? I’ve turned on show hidden files in CyberDuck, but I still don’t see one.


#4

Then you probably don’t yet have one. When you create one, make sure you’re using a UNIX-compliant editor. It looks like CyberDuck doesn’t have one built in, but WebFTP from the panel does.


#5

Should I make my own? or should I have one?

If I make it myself, is it just a plain text file named .htaccess with lines of code in it?


#6

Make your own, and it’s a plain text file that looks like the examples given. If you’re using a Mac, TextWrangler is an excellent free text editor:
http://barebones.com/products/textwrangler/