Re: Search Engine Optimization
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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Search Engine Optimization
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 name=description content = ?php echo $description ? / Therefore if the varaible $description isn't set, just use the first x characters of your page content. HTH, AD7six --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Search Engine Optimization
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 this list for 'SEO,' and you'll see some interesting methods for how to optimize Cake-based URLs. --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Search Engine Optimization
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 used mod rewrite URLs here: http:www.dubfrog.com To name pages after musicians etc: And can say it has been indexed well, but the URL's are not as good as Cake's. Which leads to my next project. I am looking at using Cake to do another shop and think the URL's and AJAX support will be ace I think the Search engines will index product pages even better as they won't even have a .html or .php extension. Cake also makes it easier to pick up the last '/requested_product' from the end of a URL - (in order to highlight slug text on the served page with Javascript for example). --- SEO Question You can also serve dynamic META tags using PHP so that your meta Keywords and Description tags match your served page's 'products / blogs / etc' I've done this dynamic META malarkey on non cake sites, but I don't know how to do it with Cake. I would like to as it has been successful. What would be the most conventional way to start getting REQUEST vars (about products) into the META tags please? ta, --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Search Engine Optimization
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: http://groups.google.com/group/cake-php/browse_thread/thread/53f34e06e26c3b59/20ef002542bf96ef?lnk=gstq=headhelperrnum=2#20ef002542bf96ef HeadHelper has a register_meta function you could use. --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Search Engine Optimization
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? --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Search Engine Optimization
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 engines to index than the standard page.html form? --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---