We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Pages on a website
Options

Bowey123
Posts: 63 Forumite

in Techie Stuff
Is there anyway of working out how many pages a website has without counting them individually?
0
Comments
-
you could see if the site has a "site map"0
-
Bowey123 said:Is there anyway of working out how many pages a website has without counting them individually?Without a site map probably not.But even then no guarantee the site map has everything on the website.So-called "dynamic" websites mean the number of pages on a website can theoretically be infinite.0
-
wget is a free program to download web pages as files and can be used to fetch recursively following links, so you could instructed it to download the whole site, then count the files on your disk with dir /sProud member of the wokerati, though I don't eat tofu.Home is where my books are.Solar PV 5.2kWp system, SE facing, >1% shading, installed March 2019.Mortgage free July 20230
-
As @Neil_Jones hints , websites nowadays don't normally have a pre-defined number of pages for several reasons.
A page might scroll infinitely bringing in new (or old) content as it goes.
Pages may be generated on the fly based on what you've done previously, whether you're logged in, the time of day or numerous other conditions.
What look like pages might actually be an active element on the previous page.
Different parts of a site may be hosted on different servers.
The same page might exist on multiple servers to balance out load on the site.
And so on.1 -
onomatopoeia99 said:wget is a free program to download web pages as files and can be used to fetch recursively following links, so you could instructed it to download the whole site, then count the files on your disk with dir /s
Nerd practical joke - point wget at bbc.co.uk to retrieve the entire site - on someone else's PC.
Oh how we laughed.....2
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.8K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.8K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.8K Life & Family
- 257.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards