October 18, 200719 yr Hi. I'm currently having a problem getting my links to validate with the W3C Link Checker. I get a 403 error "The link is forbidden! This needs fixing. Usual suspects: a missing index.html or Overview.html, or a missing ACL." this happens when its trying to go to a page thats PHP, the only reason i'm using PHP is for two includes for the head and the foot, just so it's an easy edit for if i want to change something later down the line. I have no problem if i just use HTML but i'd prefer to use PHP for the quick edit from using the include. The site is http://www.blue42media.co.uk Has anyone else had this problem and know how to fix it?. Thanks very much.
October 18, 200719 yr posting code would be useful, without seeing what you are doing its hard to see where you are going wrong and nice to see another person from newcastle...just a quick note about your site though, you should check your spelling and grammar as it looks unprofessional having them on your site... eg latest news page 'If you wish to become one or our clients please feel free to contact us' and 'I hope everyone like it as much as '
October 19, 200719 yr Author Hey. Cheers for the tip on spelling, both me an Shaun aren't the best with our spelling and grammer. As for the code, it's just a standard PHP include, that includes the head with is the code below, the main info which is the second box and the third is another include which is the footer. Only the links that are linking to a PHP file are causing the problem, if i change them to HTML files and link to them, then theres no problem. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Welcome to Blue 42 Media</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="copyright" content="© Copyright Blue42Media" /> <meta name="author" content="Blue42Media, [url="http://www.blue42media.co.uk""]http://www.blue42media.co.uk"[/url] /> <meta name="description" content="Blue 42 Media is a creative website design company based in Newcastle upon time, ran by young professionals. Blue 42 Media specialises in accessible website design." /> <meta name="keywords" content="Blue 42 Media, web design newcastle, web design north east, website design newcastle, media, accessabilty, website design, ecommerce, e commerce." /> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body><div id="wrapper"><div id="banner"><div id="links"> <ul> <li><a href="index.php" >home</a> </li> <li><a href="about.php" >about</a></li> <li><a href="news.php" >latest news</a></li> <li><a href="services.php" >services</a></li> <li><a href="portfolio.php" >portfolio</a></li> <li><a href="contact.php" >contact</a></li> </ul> </div></div> <div class="info3"> <?php include 'head.htm' ?> <div class="info"> <div class="indexText"> <h1>Who we are</h1> <p>Blue 42 Media is a professional design company based in Newcastle Upon-Tyne, England. Run by two young professionals Craig Hall & Shaun Dixon, both with a wealth of knowledge in the design industry, from 3D to website design. </p> <p>Blue 42 specialize in high-quality, accessible web design that complies with current web standards. We offer a wide range of solution, for more information <a href="services.php">click here</a>.</p> <p>If you wish to hire us, please feel free to drop us a line, our contact information is in the contact section, or you can <a href="contact.php">click here</a>. We look forward to hearing from you.</p> </div> </div> <div class="portside"> <h1>What we do</h1> <ul> <li>Website design and development</li> <li>E-commerce</li> <li>Logo design</li> <li>Logo evolution</li> <li>Graphic design / design for print</li> </ul> <p><a href="services.php">more information</a></p> <h1>Latest news</h1> <p>Our new website is up and running. We've been re-designing it for a while just to make sure it looks perfect.</p> <p><a href="news.php">more news</a></p> </div> <div class="info"> <h1>What we've done</h1> <ul> <li><a href="http://www.pritt-shrek.co.uk" target="_blank"><img src="img2/shrek.jpg" alt="Pritt stick and Shrek" /></a></li> <li><a href="http://www.pritt-shrek.co.uk" target="_blank">pritt-shrek.co.uk</a> / code</li> <li><a href="http://www.metroradio.co.uk/article.asp?id=333038" target="_blank"><img src="img2/best.jpg" alt="Top 50 of 07" /></a></li> <li><a href="http://www.metroradio.co.uk/article.asp?id=333038" target="_blank">metroradio.co.uk</a> / design & code.</li> </ul> </div> <?php include 'footer.htm' ?> </div> <div class="footer"> Blue42Media | Newcastle Upon Tyne | t: 07709565081 | e: staff@blue42media.co.uk </div> <div class="clearit"></div> <div class="footer2"> <a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0 Transitional</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://blue42media.co.uk"> Valid CSS!</a></div> </div> </body> </html>
October 19, 200719 yr <?php include("head.htm"); ?> here someone on here wrote a tutorial about the use of includes so it could help http://www.webdesignerforum.co.uk/index.php?showtopic=2036 As for spelling and grammar, its not my strong point either, I just notice errors more when it isn't my own work
Create an account or sign in to comment