Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Hyperlinks in php pages

11:37 pm on May 27, 2010 (gmt 0)

5+ Year Member

I am using FrontPage on a long standing website. I need to test whether img files relate to live pages or should be deleted but FrontPage ignores all pages with a php extension from its searches. I note that (surprise surprise) it does search pages with an asp extension. If I do not do anything I shall sink beneath a sea of redundant image files. Is there software which will might help? I dare not delete files which might be needed.
11:55 pm on May 27, 2010 (gmt 0)

5+ Year Member

[validator.w3.org...] will find broken links
12:19 am on May 28, 2010 (gmt 0)

5+ Year Member

But then I would have to delete them first which would defeat the object. I need to know they are dead before I deleat them. Does Dreamweaver recognise php files and enable one to check hyperlinks as FP does for non php files?
9:09 pm on May 30, 2010 (gmt 0)

5+ Year Member

I strongly suspect that I have misinterpreted what you wrote in the OP

Please clarify what you mean by this:
I need to test whether img files relate to live pages or should be deleted
9:35 pm on May 30, 2010 (gmt 0)

5+ Year Member

My FrontPage web has many image files but I suspect that a lot of these do not relate to current pages but to ones that have been deleted over the years. However, the FrontPage hyperlinks or unlinked files options are unreliable because FrontPage does not recognise files with php extensions and therefore does not show files linked to (or from) them. It is frustrating because FrontPage can recognise these links because I have altered the extension of one of these .php files to .htm and the links all show up. I have used this as the basis of a long tedious workaround by creating duplicate files of the .php files with the .htm extension. However, I have other webs to which this problem applies as well. So help would be appreciated.
9:58 pm on May 30, 2010 (gmt 0)

5+ Year Member

OK... I'm still not sure I understad...

Do you have images that act as links to other pages?

<a href="path/myFilename.ext" title="lorem ipsum">
<img src="folder/myImage.jpg" alt="lorem"></a>

If so (AND your site is online), you WILL (without deleting the links first) get the info you want by using the w3c link checker [validator.w3.org]
10:07 pm on May 30, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Do you have FrontPage set-up to recognize .php files under...

Tools -> Options -> Configure Editors
8:12 am on May 31, 2010 (gmt 0)

5+ Year Member

In my FrontPage web I have deleted pages but there are images which merely appeared on these pages. These are correctly shown as unlinked or in hyperlink view not appearing on any pages. The problem is that there are other image files shown in this category which are very much alive but just linked to php pages. Changing the file extension of a php file to htm makes these links reappear.
I do have FrontPage configured as an editor of php pages.