I have developed an Admin Panel that you can use to change conents on the website.
It works basically like this:
You use functions to generate HTML like menus, footers, side modules, etc. I use classes to load the content from MySQL The back end is just some administrative pages that shows you an WYSIWYG editor and that's what you save as content and that's what is is going to appear in the website.
I have functions like this in the HTML generator:
public static function renderHead(
$title = "",
$keywords = META_KEYWORDS,
$description = META_DESCRIPTION,
$css = array(),
$scripts = array()
) {
?>
<!doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="../css/style.css"/>
<link rel="stylesheet" type="text/css" href="../css/fancybox.css"/>
<link rel="stylesheet" type="text/css" href="../css/nivo-themes/nivo-slider.css"/>
<link rel="stylesheet" type="text/css" href="../css/nivo-themes/default/default.css"/>
<?php
foreach($css as $var) {
?>
<link rel="stylesheet" type="text/css" href="<?php echo $var; ?>"/>
<?php
}
foreach($scripts as $var) {
?>
<script src="<?php echo $var; ?>"></script>
<?php
}
?>
<title><?php echo $title; ?></title>
<meta name="keywords" content="<?php echo $keywords; ?>"/>
<meta name="description" content="<?php echo $description; ?>"/>
</head>
<body class="public">
<?php
}
In the administration panel you can decide which keywords are you gonna use and stuff like that... when I see a website online I see source code with all the Keywords, Description, Titles and so... but my websites has been online for months and they just do not appear on Google :( not even if I put "theaddress.com" in the google search bar!
It's driving me crazy.
IMPORTANT:
You can see an example Here http://chicagos.co This website has all the keywords and stuff like that, but it does not appear on google even if you type the domain, check the source code.
I know that it shows "thedomain.com/views/thepage.php" and I want to know how can I use HTAccess to remove the Views folder from the URL, because I made the admin panel using MVC practice.
Any help from people that knows about SEO and stuff will be very very helpfull. Thanks, let me know if you need more information.