#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2003
    Posts
    595
    Rep Power
    0

    How to find all unused pages


    Hi,

    I aplogize if I am posting thread in wrong forum. I am working on a site that has lots of pages, in 100s many of them are old page and have no links poiting to them from site.

    I wanted to get rid of all old pages.

    I was wondering is anybody aware of any tool that tells you all the pages that are not being used, or tell me all the pages that have links poiting to from the site, so I know only these pages are current.
    web developer
  2. #2
  3. "That Guy"
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2005
    Location
    Wouldn't you like to know? (To come beat me up maybee)
    Posts
    677
    Rep Power
    368
    Uhhh what? Describe what your doing more clearly please.
  4. #3
  5. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2007
    Location
    in the ether
    Posts
    983
    Rep Power
    154
    I understand what you want but I am not aware of any tools that do what you want. One way is to manually do it!

    Just thought you might be interested in these guys: http://www.linktiger.com/ - Not solving your problem but may help you.

    Btw, this isn't the right section to post your question.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2006
    Posts
    111
    Rep Power
    14
    I would suggest writing a program to loop through all the files on your server and retrieve all LINKS in documents. Only save the ones that are local URLs and then compare each file on the web server to the list of links. If the the file is not present in the array of linked-to URLs then delete it. It's not exactly that simple cause you need to make sure your code doesn't delete other things you don't want it to, but it shouldn't be too difficult to handle that. I use ASP.NET and this would be a sinch.

    Comments on this post

    • JavaNinja agrees
  8. #5
  9. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2008
    Location
    St. Louis
    Posts
    90
    Rep Power
    21
    I've only used it once, but FreeSiteValidator.com does this and worked the time I did run it. Sorry re-reading, this only shows your deadlinks, not dead pages.

    Thanks,
    Minnow
    Last edited by Minnow; December 4th, 2008 at 05:31 PM.
  10. #6
  11. Meatball Surgeon
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2004
    Location
    Elbow deep in code
    Posts
    2,056
    Rep Power
    1321
    If you look at your site with Dreamweaver, and then attempt to delete each file seperately, it will tell you if the file is called by any others on your site.
    Three gigs for the secretaries fair
    Seven gigs for the system source
    Nine gigs for the coders in smoky lairs
    One disk to rule them all, one disk to bind them
    One disk to hold the files, and in the darkness grind'em
    ---------------------------------------------------
    It is by caffeine alone that I set my mind in motion.
    It is by the beans of Java, that my thoughts acquire speed.
    The hand acquire shakes; the shakes become a warning.
    It is by caffeine alone that I set my mind in motion.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2007
    Posts
    80
    Rep Power
    7
    One way that might work, is to use Dreamweaver. With all your files uploaded to your server, create a "new site" that connects to your current one (this is so you have an empty directory on your computer). On your main page, probably your index page, "Get" it from the site, and it should ask you if you want to "Get all dependent files". Click Yes, and let it run. It should download all the files that your index page links to, and each page that each of those pages link to. Any pages (and images/folders) not used in your site, should remain on the server, and you should only have the ones that your actually using in your new folder on the computer.

    Hopefully that makes some sense to you.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2003
    Posts
    595
    Rep Power
    0
    thanks a lot for everbody replies, i figured there is no easy solution to that
    web developer

IMN logo majestic logo threadwatch logo seochat tools logo