Jump to content

File Arrangement


Fmdpa

Recommended Posts

I just can't figure this out. I have all of my pages in one folder. The images and scripts and stylesheets are contained in various subfolders. I want to arrange my pages in their own folders, but how do I do this without making a dozen duplicates of the images/scripts/styles folders or using the entire filename path?

Link to comment
Share on other sites

Don't actually put them all in separate folders (no-one does that) - use URL rewriting to make it appear as if they are. Implementation details differ by platform - on Apache you can use the URL rewriting module mod_rewrite.Anyway, a more direct answer to your question is to reference everything from the root, using /.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...