yusufakyol
Posts: 73
|
| Posted: 01/31/2009, 5:33 AM |
|
Hi,
DonB writes at post #93648 that "I think it's better to declare a 'template folder' in the CCS properties and set the code page extension to html and then modify the webserver (.htaccess) to parse html files with PHP. The spiders see a 'static html' page' instead of a 'dynamic PHP' page. ".
Does anyboy or DonB himself give detail info about:
1. how can use template folder for this purposes?
2. what modifies in .htaccess?
Is it possible to develop a sample application for this purposes? It will be very helpfull for CCS users whose interest SEO.
Thanks to all help.
Best regards.
_________________
Best Regards |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 02/02/2009, 8:08 AM |
|
Hi
Not exactly sure what DonB is telling you here.
But what I believe he is trying to suggest is the when you create a CCS project you specify a directory for your HTML templates.
Reason being so when spiders hit your site they will only see the PHP page and not return just a template. This is easy in CCS.
The second part regarding .htacces I do not think is actually necessary. If all that exists in your root directory is index.php and all the other php scripts, spiders will find your site fine.
Remember, SEO is really all about content, page title, and to a small part description metetags. Spiders also look for changing content and that helps alot.
There are also many sites out there that will run an SEO check on your site and provide report for you.
Here is one:
http://CCSElite.com
Click on the banner for checking site SEO on the left sidebar.
Hope that helps
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
damian
Posts: 838
|
| Posted: 02/02/2009, 1:46 PM |
|
hi guys, if you have dir browsing off and you have .htaccess set properly i dont see how/why a spider will/can index your html files. i have never had this happen with my sites (asfaik).
however i do have a tip for seo
if you have lots of pages that can only be found by submitting a search eg a knowlegebase then google will not find these pages because they wont exter any searches in your forms... so create an index of all of your articles AND do it in ASC order otherwising the entries on each page will change everytime you add new entries, pushing existing entries down the order, and some over oevr the page etc.
make sure this index page is directly linked to somewhere the spider can read
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
datadoit
|
| Posted: 02/02/2009, 5:40 PM |
|
Use mod_rewrite to make SE friendly URL's of your dynamic sites. Google
loves it!
|
|
|
 |
feha
Posts: 712
|
| Posted: 02/03/2009, 6:55 AM |
|
If yo do the proper way in your mod-rewrite
there is no problem with your templates ....
example: http://www.vision.to/welcome.html
http://www.vision.to/welcome.php
works very well ...
but the http://www.vision.to/welcome.html does not exist at all ...
as it takes the parameter: http://www.vision.to/index.php?page=welcome
and welcome as an alias to an id ...
so my .htaccess file looks like:
DirectoryIndex index.php index.html
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\.php$ /index.php?page=$1 [QSA]
RewriteRule ^(.*)\.html$ /index.php?page=$1 [L,QSA]
Hope this helps 
I even added
RewriteRule ^(.*)\.xhtml$ /index.php?page=$1 [L,QSA]
so welcome.xhtml will work, not standard but you can use any extenstion you want ...
I decided to keep php extension as some pages was already indexed and got high PR.
Hope this explains a bit more the way SEO and USER friendly links ...
Than you tell to search engines what pages to index: http://www.vision.to/sitemap.xml
_________________
Regards
feha
www.vision.to
feedpixel.com |
 |
 |
yusufakyol
Posts: 73
|
| Posted: 02/04/2009, 1:39 PM |
|
Hi,
Many thanks to everybody for valuable informations.
How can I create links like SEO Friendly URL with CCS template or other way? Do you have any sample?
Thanks.
Best regards.
_________________
Best Regards |
 |
 |
joejac
Posts: 242
|
| Posted: 02/10/2009, 1:30 PM |
|
Hello Feha, thanks for your advice, but if some pages "was already indexed and got high PR" why to worry with all this additional actions? Is this really necessary?
Thanks a lot
joejac
Quote : ...
I decided to keep php extension as some pages was already indexed and got high PR.
Hope this explains a bit more the way SEO and USER friendly links ...
|
 |
 |
feha
Posts: 712
|
| Posted: 02/11/2009, 12:05 AM |
|
Before I put the new CMS i had 5-6 pages like links.php , contact.php etc that was static php files and some of them already had PR5 ....
After installing CMS there are more than 100 pages ...
_________________
Regards
feha
www.vision.to
feedpixel.com |
 |
 |