Jump to content

File Arrangement


Fmdpa
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...