Thanks AD.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more
How about putting something like this in your layout:
?php
if (!isset($description))
{
$description = preg_replace (@/?[^]**@, , $content_for_layout);
$description = preg_replace('/\s\s+/', ' ', $description);
$description = substr($description, 0, 400);
}
?
meta
Actually, Cake URLs are better optimized than standard webapp URLs
because search engines seem to prefer path-based URLs to
querystring-based URLs. Also, Cake's URLs are based on a routing
system that supports regular expressions, so you can put URLs in
whatever format you want. Just search
Mod rewrite URLs are good for e-commercial sites especially, as you
name pages according to the 'product/blog/news item' that they serve.
So Google would come across:
www.my_elephant_shop.com/shop/view/elephants
(Which is very SEO index friendly and easier for users to remember).
I have
You can use the super-cool HeadHelper
(http://cakeforge.org/snippet/detail.php?type=snippetid=56) to
dynamically put things in the header of your layout. See this thread
for details:
We're bidding on a website redesign and are heavily pitching the use of
CakePHP. The client is very concerned about URLs like:
www.site.com/page
instead of
www.site.com/page.html
Are CakePHP URLs any more difficult for search engines to index than
the standard page.html form?
no
On 7/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
We're bidding on a website redesign and are heavily pitching the use of
CakePHP. The client is very concerned about URLs like:
www.site.com/page
instead of
www.site.com/page.html
Are CakePHP URLs any more difficult for search