hey people .
okay . 3 dayz ago i was done from designing and coding my website .
it is made mainly in html . okay it is not pure html . it is html with php in .php files and it also contain abit of js & css . ofcouse it have sql connections .
i wanted to add it to googleb but after adding my account to google they told me that there is no Links to your site and No data available and Keywords No data available.
i changed the whole system . so now if any member has posted any article the code will genarate a full website in php with all the anted graphics and stylesheets also the same code will save the post and the link to it in a database table and another page called articles.php will view these information and when a member clicks on the title of the article it will view the article's separate page .
and i think this is wt google wants . today i uploaded it and nothing has changes . when ever i write my websites address in google . nothing apears only 4 pages with nothing .
i used a free xml sitemap creater and i uploaded it to google but nothing has changed . they told me that there is an error .
my be this is the problem . my website pages are based in include .
i mean . okay , check this code :

<?php
$title = "- Home";
include "header.php";
include "nav.php";
include "main.php";
include "sb.php";
include "footer.php";
?>

and this is the header.php code :

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<title>Awah's website  <?php echo $title; ?></title>
<meta name='keywords' content='' />
<meta name='description' content='' />
<link href='styles.css' rel='stylesheet' type='text/css' />
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-20034759-1']);
  _gaq.push(['_setDomainName', '.awah.biz']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
<div id='main'>
<!-- start header -->
<div id='header'>
 <div id='logo'>
	<h1><a href='#'>Awah's Website </a></h1>
	<h2> your free way to internet and technology freedom </h2>
  </div>

and here is the nav.php :

<div id="menu">
        <ul>
			<li><a href="index.php">Home</a></li>
			<li><a href="blog.php">Blogs</a></li>
			<li><a href="forums/index.php">Forums</a></li>
			<li><a href="wiki/index.php">Wiki</a></li>
            <li><a href="awahbook/index.php">Awahbook</a></li>
           	<li><a href="contact.php">Contact</a></li>
		</ul>
	</div>	
    
<!-- end header -->
</div>
<!-- start page -->
<div id="page">
	<!-- start content -->
	<div id="content">
		<div class="back">
		 <div class="top">
			<div class="bottom">

and the main is <h2>title </h2><p>....</p>
the sidebar.php is :

</div>
			</div>
			</div>
			<script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
			<link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
			
			<div><img src="images/spacer.gif" width="1" height="20px" alt="" /></div>
		<div><img src="images/spacer.gif" width="1" height="20px" alt="" /></div>
		<div><img src="images/spacer.gif" width="1" height="20px" alt="" /></div>
	  </div>
<div id="sidebar2" class="sidebar">
  <div class="r1">
  <h2>Actions</h2>
  <?php
  if(isset($_COOKIE['user']))
  {?>
  <ul>
 <li> welcome <?php echo $_COOKIE['user']; ?></li><br />
   
 
  
   <div id="CollapsiblePanel1" class="CollapsiblePanel">
     <div class="CollapsiblePanelTab" tabindex="0">user cpnael - (click here)</div>
     <div class="CollapsiblePanelContent"><?php include "ucpanel.php"; ?></div>
   </div>
   <?php
   }
   else
   {
   ?> 
   <li><a href="signup.php">Signup</a></li>
  <li><a href="signin.php">Signin</a></li>
  <?php
  }
  ?>
  </ul>
  
  
  
    <h2>Categories</h2>
    <ul>
    <?php
	include "config.php";
	$s = "SELECT * FROM cats ";
	$q = mysql_query($s);
	while($row = mysql_fetch_array($q))
	{
	echo "<li><a href='".$row['cat_link']."' title = '".$row['cat_title']."'>".$row['cat_name']."(".$row['number_of_posts'].")</a></li>";
	}
      ?>
    </ul>
    <?php mysql_close(); ?>
  </div>
  <div><img src="images/spacer.gif" width="1" height="20px" alt="" /></div>
  <div class="r1">
    <h2>sugested links</h2>
    <ul>
    <?php
	include "config.php";
	$q = "SELECT * FROM links";
	$s = mysql_query($q);
	while($row = mysql_fetch_array($s))
	{
	echo " <li><a href='".$row['link']."' title='".$row['title']."' >".$row['name']."</a></li>";      }
	?>
    </ul>
    <?php
	mysql_close();
	?>
  </div>
  <div><img src="images/spacer.gif" width="1" height="20px" alt="" /></div>
  <div class="r1">
    <h2>advartisements </h2>
    <?php
	include "advars.php";
	?>
    
  </div>
</div>
<script type="text/javascript">
<!--
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
//-->
</script>

and then the footer .
so are these code compatible with google ??
please guys tell me couz i spent 3 days trying to feagre this out but i didnt get a good result . this is my first time to use google and to upload my website to google .
thanks .

Recommended Answers

All 3 Replies

is my questio so dificult like this ??
13 views and no reply

Your question is hard to understand,
how can you do what?
which error did google told you about?
is your website indexed in google?
where are you uploading your site?
do you own a domain name?

Member Avatar for diafol
<meta name='keywords' content='' />
<meta name='description' content='' />

This is never good for SEO. Google takes a while to spider your site. It isn't done in a few seconds. Your ranking will depend on quite a few different factors. Look up SEO techniques. And remember, Google isn't the ONLY search engine. You should send sitemaps to as many search engines as possible.

If your content doesn't match your meta data, you've got very little chance of getting anywhere. Oh, I forgot, you don't have any meta data.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.