Re: [fw-general] google indexing site
Cristian Bichis pisze: Hello, Try adding your site to Google Webmaster Tools. After you verify your site you gonna get error messages, aso. Indeed, ZF is not very good (as other frameworks) on some things as making URL's very SEO friendly but i don't think that's your problem. I can take a look on your site compatibility with SE if you want. Email me if so. -- Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zflinks.com | www.zftalk.com i was able to get it to load the robots.txt file. it looked from the error like it was not able to get the default locale from google's request. Amr Mostafa wrote: I doubt this is related to ZF. Maybe you need to use robots.txt http://www.robotstxt.org/ http://en.wikipedia.org/wiki/Robots.txt Good luck! - Amr On Jan 21, 2008 1:51 PM, digitalus_media <[EMAIL PROTECTED]> wrote: i have developed a zf based cms. for some reason google can not recognize any of the links on the site. i tried a robot emulator, and it shows no pages. i installed the lynx text browser, and all of the links / navigation are visible. is this something new with google or is there something else i need to do (htaccess?). -- View this message in context: http://www.nabble.com/google-indexing-site-tp14995990s16154p14995990.html Sent from the Zend Framework mailing list archive at Nabble.com. Look here : http://www.nabble.com/Zend_Locale_Exception-when-wget-ing-to14948086s16154.html
Re: [fw-general] google indexing site
Hello, Try adding your site to Google Webmaster Tools. After you verify your site you gonna get error messages, aso. Indeed, ZF is not very good (as other frameworks) on some things as making URL's very SEO friendly but i don't think that's your problem. I can take a look on your site compatibility with SE if you want. Email me if so. -- Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zflinks.com | www.zftalk.com i was able to get it to load the robots.txt file. it looked from the error like it was not able to get the default locale from google's request. Amr Mostafa wrote: I doubt this is related to ZF. Maybe you need to use robots.txt http://www.robotstxt.org/ http://en.wikipedia.org/wiki/Robots.txt Good luck! - Amr On Jan 21, 2008 1:51 PM, digitalus_media <[EMAIL PROTECTED]> wrote: i have developed a zf based cms. for some reason google can not recognize any of the links on the site. i tried a robot emulator, and it shows no pages. i installed the lynx text browser, and all of the links / navigation are visible. is this something new with google or is there something else i need to do (htaccess?). -- View this message in context: http://www.nabble.com/google-indexing-site-tp14995990s16154p14995990.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] google indexing site
i was able to get it to load the robots.txt file. it looked from the error like it was not able to get the default locale from google's request. Amr Mostafa wrote: > > I doubt this is related to ZF. Maybe you need to use robots.txt > > http://www.robotstxt.org/ > http://en.wikipedia.org/wiki/Robots.txt > > Good luck! > - Amr > > On Jan 21, 2008 1:51 PM, digitalus_media <[EMAIL PROTECTED]> wrote: > >> >> i have developed a zf based cms. for some reason google can not >> recognize >> any of the links on the site. i tried a robot emulator, and it shows no >> pages. >> >> i installed the lynx text browser, and all of the links / navigation are >> visible. is this something new with google or is there something else i >> need to do (htaccess?). >> -- >> View this message in context: >> http://www.nabble.com/google-indexing-site-tp14995990s16154p14995990.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/google-indexing-site-tp14995990s16154p15007500.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] google indexing site
I doubt this is related to ZF. Maybe you need to use robots.txt http://www.robotstxt.org/ http://en.wikipedia.org/wiki/Robots.txt Good luck! - Amr On Jan 21, 2008 1:51 PM, digitalus_media <[EMAIL PROTECTED]> wrote: > > i have developed a zf based cms. for some reason google can not recognize > any of the links on the site. i tried a robot emulator, and it shows no > pages. > > i installed the lynx text browser, and all of the links / navigation are > visible. is this something new with google or is there something else i > need to do (htaccess?). > -- > View this message in context: > http://www.nabble.com/google-indexing-site-tp14995990s16154p14995990.html > Sent from the Zend Framework mailing list archive at Nabble.com. > >
Re: [fw-general] google indexing site (update)
You'll probably be better off creating a static robots.txt file and altering your .htaccess rewrite rule to allow direct access to .txt files: RewriteEngine on RewriteRule !\.(js|ico|gif|jpg|png|css|txt)$ index.php Performance wise, this will be much smarter, as I doubt you need a dynamic robots.txt. Shahar. On Mon, 2008-01-21 at 05:07 -0800, digitalus_media wrote: > I analyzed the robots.txt file and found it was returning this error: > > Fatal error: Uncaught exception 'Zend_Locale_Exception' with message > 'Autodetection of Locale has been failed!' > > i have set the locale in index.php: > > $locale = new Zend_Locale('en_US'); > > and have set a static route to the robots file: > > //robots.txt > $route = new Zend_Controller_Router_Route_Static( > 'robots.txt', > array( > 'module' => 'public', > 'controller' => 'systemPages', > 'action' => 'robots' > ) > ); > $router->addRoute('robots.txt', $route); > > action: > > function robotsAction() > { > $this->getResponse()->setHeader('Content-Type', 'text/plain'); > $disallow = $this->_config->robots->toArray(); > if(is_array($disallow)){ > echo "User-agent: * \n"; > foreach ($disallow as $dir) { > echo "Disallow: " . $dir . " \n"; > } > } > } > > signature.asc Description: This is a digitally signed message part
Re: [fw-general] google indexing site (update)
I analyzed the robots.txt file and found it was returning this error: Fatal error: Uncaught exception 'Zend_Locale_Exception' with message 'Autodetection of Locale has been failed!' i have set the locale in index.php: $locale = new Zend_Locale('en_US'); and have set a static route to the robots file: //robots.txt $route = new Zend_Controller_Router_Route_Static( 'robots.txt', array( 'module' => 'public', 'controller' => 'systemPages', 'action' => 'robots' ) ); $router->addRoute('robots.txt', $route); action: function robotsAction() { $this->getResponse()->setHeader('Content-Type', 'text/plain'); $disallow = $this->_config->robots->toArray(); if(is_array($disallow)){ echo "User-agent: * \n"; foreach ($disallow as $dir) { echo "Disallow: " . $dir . " \n"; } } } -- View this message in context: http://www.nabble.com/google-indexing-site-tp14995990s16154p14997161.html Sent from the Zend Framework mailing list archive at Nabble.com.
[fw-general] google indexing site
i have developed a zf based cms. for some reason google can not recognize any of the links on the site. i tried a robot emulator, and it shows no pages. i installed the lynx text browser, and all of the links / navigation are visible. is this something new with google or is there something else i need to do (htaccess?). -- View this message in context: http://www.nabble.com/google-indexing-site-tp14995990s16154p14995990.html Sent from the Zend Framework mailing list archive at Nabble.com.