November 21, 201213 yr Hi, I only know basic html and css. So when I see websites with a url that doesn't end in '.html' for.eg. "www.example.com/profile" it confuses me. Can someone explain how i can understand and do sites like this. cheers, J
November 21, 201213 yr As far as I know the server returns index.html or index.php by default if only the directory is given. I think you can change that behaviour in the .htaccess file , not sure because I don't have any experience with that. Léon
November 21, 201213 yr What Leon said. www.example.com/profile will show you the index page is the profile directory on the server example.com.
November 21, 201213 yr This is true, at more advanced levels you can use .htaccess to negate the need for .html or .php, like WordPress does
November 21, 201213 yr This is true, at more advanced levels you can use .htaccess to negate the need for .html or .php, like WordPress does Otherwise known as SEO friendly urls
Create an account or sign in to comment