Indexes in URLS

mrenfer's Avatar

mrenfer

08 Mar, 2011 05:30 PM

Hello.

It's been pointed out that the URLs of our pages all end in index.html. There's been a request to change this. However, I've noticed that other university websites have it setup this way as well.

Is there a reason why Cascade generates the URLs as such? Can it be changed? If so, would it be beneficial to do so? Would changing it negatively affect Cascade in any way?

  1. 1 Posted by mrenfer on 08 Mar, 2011 05:34 PM

    mrenfer's Avatar
  2. 2 Posted by Amy on 08 Mar, 2011 10:14 PM

    Amy's Avatar

    'index.html' is simply the default file that a web server will serve up when site visitors are accessing a specific directory. http://en.wikipedia.org/wiki/Webserver_directory_index

    In your example, http://gardner-webb.edu/undergraduate/index.html will direct you to the 'index' page of the 'undergraduate' folder, whereas http://gardner-webb.edu/undergraduate.html would direct you to the 'undergraduate' page in the base folder of the website. Changing one to the other is fairly simple but would require changes in the folder structure of your site, which is typically set up by your organization.

  3. 3 Posted by Michael McGinni... on 18 Jul, 2011 07:14 PM

    Michael McGinnis's Avatar

    When you ask "why Cascade generates the URLs as such," you may be referring to an earlier version (we're using 6.7.5). Because we can choose any filenames we want, by combining the page name and the extension from the Configuration.

    Sticking with index.html helps make your site more future-proof. That way, you can advertise your page as simply http://gardner-webb.edu/undergraduate/, and that will continue to work even if you later switch the file names to index.php, default.asp, or index.htm. Of course, it requires more folders.

  4. Tim closed this discussion on 07 Mar, 2012 02:37 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac