Can somebody help me here with this action.
I create new folders and put one page in every folder.
What name am I suppose to give the folders I create?
And if I understand it right, I am suppose give new filenames to all my sides, and they should be index.anything.
I have so far made som tests with bad results.
I have named the folders with the name of my site.
eg. www.homepage.se/contact, then I have named the folder “contact” and the file inside has got the filename: index.contact.
Can somebody explain in a very clear way what I should do?
(I am kind of new to freeway an just published my fist sight)
Thanks
Johan
If you want the link www.homepage.se/contact to go to a single page within the contact folder then that page should be named index.html (www.homepage.se/contact/index.html)
And that applies to every folder you create as the server starts it search in a folder looking for the default (usually) index.html page - could be index.htm or index.php
Essentially, all this does is hide the .html file extension from any pages visited in a browser. example.com/contact.html will become example.com/contact. The nice thing is that you don’t have to worry about using subfolders for each and every page on your site!
Thank you all for quick respond. I have now managed to solve my issue with the method described by Caleb. I works fine. Perfect.
I had to do som research on the net about how to edit .htaccess.
Essentially, all this does is hide the .html file extension from any pages visited in a browser. example.com/contact.html will become example.com/contact. The nice thing is that you don’t have to worry about using subfolders for each and every page on your site!
Wow Caleb, this probably is the best tip I ever got, tnx!