How to Find Subpages Without Links?

  • Thread starter Thread starter patrickbotros
  • Start date Start date
  • Tags Tags
    links
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 5K views
patrickbotros
Messages
34
Reaction score
1
I'm wondering if there's a way to find all the subpages on a website even if the mainpages don't have any links to them. I bet you could keep guessing the names of the subpages but that would take forever.
 
Physics news on Phys.org
patrickbotros said:
I'm wondering if there's a way to find all the subpages on a website even if the mainpages don't have any links to them. I bet you could keep guessing the names of the subpages but that would take forever.
I don't think there is a way to do this without knowing the file structure of the web site.
 
You can sometimes find files by "backwhacking" a URL, that is, entering partial URLS corresponding to (sub)directories (folders), with a slash at the end. If an Apache server is configured to allow directory listings and a directory does not contain an index.html file (or whatever other files the server recognizes as "index files" e.g. index.php), this will give you a listing of the files in that directory.

However, if the directory contains an index.html or similar file, you will always get that. If the directory listings are disabled, and there is no index.html, you will get an "access denied" message or something similar.
 
An additional really simple tool for finding pages on a site is to do a search like:
"doctor who" site:physicsforums.com
on Google. Google will index pages not linked to on the main page if they are linked to elsewhere on the net, so if a page here talked about Doctor Who and was not indexed from any page, it could still show up if another page linked to it. (Edit: At least they used to, I haven't tried it lately)
 
jtbell said:
You can sometimes find files by "backwhacking" a URL, that is, entering partial URLS corresponding to (sub)directories (folders), with a slash at the end. If an Apache server is configured to allow directory listings and a directory does not contain an index.html file (or whatever other files the server recognizes as "index files" e.g. index.php), this will give you a listing of the files in that directory.

However, if the directory contains an index.html or similar file, you will always get that. If the directory listings are disabled, and there is no index.html, you will get an "access denied" message or something similar.
How?
 
jtbell said:
If an Apache server is configured to allow directory listings
Unlikely in this day & age.