Jump to content
TNG Community

Can't go past one subfolder.


stackos

Recommended Posts

I do a lot of transcribing and placing that information online. I love how my TNG website looks as was wanting to bring my HTML database onboard.

This is how I have my file directory setup.

site.com/us_records/state/county/countysubfolder/filename.html

Works flawlessly, but it doesn't have the beautiful theme that my TNG site has. So I tried to pull it into the TNG setup following the PHP pages customization using the history page template.

Everything works as long as it is within my single subfolder Ex: /pgs/

site.com/pgs/transcribeddata.php - Works

site.com/us_records/state/county/countysubfolder/transcribeddata.php - Failure.

I'm new to PHP so is there a special protocol for going multiple sub folders deep? I've tried updating it in the new .php file. It works as long as it's in /pgs/ any more subfolders then that it doesn't work. The file structure is CRITICAL so having tens of thousands(I have a lot, but not this many) of files within the /pgs/ sub folder is pointless. I'm fine with how it currently is laid out, but I would love to get it to work on the TNG side of things utilizing PHP instead of just straight HTML. All files have their correct extension. The issue comes when I create a subfolder within a subfolder.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...