You are here:  » How to create a "Contact Us", a "Privacy Policy" and a "Terms and Conditions"


How to create a "Contact Us", a "Privacy Policy" and a "Terms and Conditions"

Submitted by mally on Thu, 2007-10-04 20:59 in

Hello

I'm told that a tip for using adwords is they require you to have a "Contact Us", a "Privacy Policy" and a "Terms and Conditions" page on my websites.

Can you give any guidance on how to do this?

thanks

Mally

Submitted by support on Fri, 2007-10-05 07:31

Hi Mally,

The simply way to do this would be to create the pages (using the standard header and footer includes so that they follow the look and feel of your site), and then link to these pages in your footer. Taking contactus as an example,

contact.php:

<?php
  
require("includes/common.php");
  
$banner["h2"] = "<strong>Contact Us</strong>";
  require(
"html/header.php");
  print 
"Print your contact information here...";
  require(
"html/footer.php");
?>

Then, in html/footer.php, add the following code right at the top:

<p><a href='/contact.php'>Contact Us</a></p>

Add similar code for the other static pages you want to include, and that should do the trick!

Cheers,
David.

Submitted by mally on Thu, 2007-11-08 18:54

Hello David

I followed you advice and it works well.

I also have plans to add more pages which I would like to be added to the sitemap area.

Can you suggest a way of adding a page which would be added to the sitemap. I thought about creating a new feed with the additional pages, but think that migh be confusing.

Mally

Submitted by support on Thu, 2007-11-08 19:18

Hi Mally,

This should be easy enough to do. What I would recommend is creating a separate sitemap file for your additional pages, for example:

sitemapExtra.xml:

<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns='http://www.google.com/schemas/sitemap/0.84' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd'>
<url>
  <loc>http://www.yoursite.com/page1.php</loc>
</url>
<url>
  <loc>http://www.yoursite.com/page2.php</loc>
</url>
</urlset>

And then, you need to include that sitemap within the index. To do this, edit sitemap.php and look for the line that starts the index XML:

print "<sitemapindex ...

...then add the following on the next line:

  print "<sitemap><loc>http://www.yoursite.com/sitemapExtra.xml</loc></sitemap>";

That should do the trick!
Cheers,
David.