PHP home page can not re-link to itself

B

BK

I have a strange problem that I hope someone can help me with.

My index page has a .php extension because of a poll I added to the page.
(The poll wouldn't work otherwise.) When I click on the "Home" link when I'm
on the home page, I receive an error message saying the page can not be
found. Each of the three Home links (top, bottom, and left of page) work fine
when I'm on another page.

Here is the site: www.PositivelyFeminine.org

Thanks!
BK
 
M

Murray

On the Home page, the link looks like this -

<a href="index.htm">Home</a>

On the other pages, it looks like this -

<a href="index.php">Home</a>

That's why you are getting the error message. Fix the link on the home
page.
 
T

Thomas A. Rowe

You need to correct the "home" link on the home page to point to index.php and not index.htm. Your
web host may have to change the default document list for the site to have index.php as the first
filename in the list.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
B

BK

When I go to IE and view source, I see what you mean. The page is set to
<a href="index.htm">Home</a>
instead of index.php.
How can that be changed? I am only able to change the includes links from
within the includes file. When I look at the code within Front Page, this is
what I see:

-------------------
<div id="container">
<!--webbot bot="Include" u-include="includes/top.htm" tag="BODY" --><div
id="bodya">
<div id="bodya2">
<!--webbot bot="Include" U-Include="includes/submenu.htm" TAG="BODY"
--><div class="infobox">
_________________________

I have changed the URL within the includes menu, but for some reason it's
not transferring over to work with the php page. I've tried Recalculating
Links and it doesn't help.

Thanks!
BK
 
A

Andrew Murray

Change the link to point to the correct file in Frontpage.right click the
link in design view to go to the link properties, and over-type "index.htm"
and type "index.php". Save the page and publish.
 
B

BK

Someone recommended that the php page was not handling the webbot includes
correctly. I remedied it by taking the webbots out of the php page and simply
pasting the code from my includes menu. It seems to work great. Thank you all
for your help!!

BK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top