Page 1 of 1

SEO code is HTML but my website start page is index.php

Posted: Tue Sep 22, 2009 9:30 am
by zarp
Hi Guys,

I'm not much of a PHP developer, most of my stuff is Oracle. But I've just got a new site and I'm putting in SEO into my main pages. But I have a problem, I know HTML and I'd be able to put my code into my index header page, but my main page is PHP (index.php).

my SEO HTML code looks like below, how would I convert that to PHP to place it in my index.php page.... ???

<title>Friends | Free Friends Forum | Online Communities</title>
<meta name="description" content="Specializes in internet friends & user videos. Join free!" />
<meta name="keywords" content="Internet friends, user videos, online comunity, free online community, chat with friends, join social network." />
<meta name="robots" content="index,follow" />

Re: SEO code is HTML but my website start page is index.php

Posted: Tue Sep 22, 2009 1:04 pm
by requinix
PHP creates HTML. Just put it in.

If it's that hard for you, what does index.php look like?

Re: SEO code is HTML but my website start page is index.php

Posted: Tue Sep 22, 2009 5:52 pm
by pickle
Anything not inside <?php ?> tags will be treated as HTML.