seo

Does PhantomJS support ES6 for serving angularjs app to crawlers and bots?

廉价感情. 提交于 2019-12-05 23:31:23
问题 I am trying to use ajax-seo for an Angularjs app to serve html compiled content from a PhantomJS webserver`. But it's not rendering the complete page. It's just giving the following response <html><head></head><body></body></html> I have followed the instructions well but no luck so far. So I'd like to know whether PhantomJS supports ES6 or not, because my app is in ES6. 回答1: PhantomJS 2.1.1 only supports about 10% of ECMAScript 6, which might not be enough to properly render your page. Here

Is it useless to add `nofollow` using Javascript?

送分小仙女□ 提交于 2019-12-05 23:10:04
问题 AFAIK, the rel="nofollow" attribute on links instruct search engines not to follow through the link when it crawls your site, therefore severing all assumption of relationship between your site and the linked site, and therefore, not sharing any of your SEO goodness. For the most part, that's a Good Thing™ on a comment system. Now, after integrating an IntenseDebate system on my site, I noticed that the commenter names link through their respective websites without nofollow . This kind of

recommended way or plugin to create google sitemaps for ruby on rails app?

心已入冬 提交于 2019-12-05 21:46:43
I did a quick Google search and didn't see anything super-great to automate creation and updating of my google sitemap for the ruby on rails app. Any suggestions? I added a dynamic sitemap to a blog application just recently. These steps should get you started. Add this route towards the bottom of your config/routes.rb file (more specific routes should be listed above it): map.sitemap '/sitemap.xml', :controller => 'sitemap' Create the SitemapController (app/controllers/sitemap_controller): class SitemapController < ApplicationController layout nil def index headers['Content-Type'] =

Using iframe to apply CSS media queries to block elements

谁说我不能喝 提交于 2019-12-05 21:03:21
问题 I was just sitting working on some web design and thinking "Hey, wouldn't it be nice if we could apply CSS media queries to block elements (ie. div , section , etc.)?" Seriously, we could make some pretty stunning fluid layouts if we were able to have this functionality. In this post I'll use a simple social plugin that I would be able to implement into a sidebar onto any of my pages that would be able to be fluid based on it's parent div size. This is handy so I would be able to resize my

Ajax Url accessed by Google

╄→гoц情女王★ 提交于 2019-12-05 19:42:37
We’re having an issue with Googlebot trying to access a URL on an Ajax function and failing due to some URL encode issue. First of all we’re bit confused why googlebot is trying to access a URL inside a JS function on a JS script. JS code: ajaxFunction(siteid) { $.get(location.protocol + '//' + location.hostname + '/ajax/?ajaxscript=detail&siteid='+ siteid, function() { ... }); } Above function is in a JS script included on our web page which gets called when a link/button is clicked. Googlebot somehow trying to go to the URL generated by the above function directly and getting errors due to “

Magento multilanguage - double change in language resuts in 404 (or how to change language within stores not views)

人走茶凉 提交于 2019-12-05 18:51:28
I have a problem with a magento installation. I used Magento ver. 1.5.0.1, community edition to develop this website http://cissmarket.com/ . The problem appears when I change the language from the EU version to French and after that to German. The change to french is ok, but when in the same page i change to German i receive a 404 error. Also this is generation 404 errors in the Google webmaster tools and when i try for example to take this link and paste it in the browser it gives me also a 404 error. I have there some 50 products and ~550 404 errors in Google Webmaster tools. I understand

how does URL rewrite work in plain english

孤街醉人 提交于 2019-12-05 17:37:03
I have read a lot about URL rewriting but I still don't get it. I understand that a URL like http://www.example.com/Blog/Posts.php?Year=2006&Month=12&Day=19 can be replaced with a friendlier one like http://www.example.com/Blog/2006/12/19/ and the server code can remain unchanged because there is some filter which transforms the new URL and sends it to the old, but does it replace the URLs in the HTML of the response too? If the server code remains unchanged then it is possible that in my returned HTML code I have links like: http://www.example.com/Blog/Posts.php?Year=2006&Month=12&Day=20 http

Pretty URLs Vs. Duplicate Content

天大地大妈咪最大 提交于 2019-12-05 17:37:00
I'm trying to clear up a grey area about this much talked about topic... Like most devs, I've made some pretty URLs with mod_rewrite. My sites internal links point to the pretty URLs and things are working nicely. But, I can still access the old URL if I point to it directly. Now, this is most certainly going to cause duplicate content issues so after doing some research it seems that 301 redirects are the way to go. But.... and here's the grey bit... If you are working on a site with thousands of URLs, what's best practice to achieve this? I don't wantto list 1k+ lines in .htaccess I thought

“alt” attribute on images and “title” attribute on links required in HTML5?

独自空忆成欢 提交于 2019-12-05 17:36:50
Me and other developers at our company are struggling with "title" and "alt" attributes. In the past, we added "title"-Tags to all links for SEO purposes (although some of them were annoing talking about usability) and "alt"-Tags on every image on the site, because HTML4 spec said so. Are "title" and "alt"-Tags still required ? If they're not required, do they still have effects on SEO? unor Check the HTML specification to see what is/isn’t required: a element : The ( global ) title attribute is not required. img element : The alt attribute is required in most cases ( exceptions ). (Questions

sIFR or FLIR?

流过昼夜 提交于 2019-12-05 15:35:04
I've recently bumped into facelift, an alternative to sIFR and I was wondering if those who have experience with both sIFR and FLIR could shed some light on their experience with FLIR. For those of you who've not yet read about how FLIR does it, FLIR works by taking the text from targeted elements using JavaScript to then make calls to a PHP app that uses PHP's GD to render and return transparent PNG images that get placed as background for the said element, where the overflow is then set to hidden and padding is applied equal to the elements dimensions to effectively push the text out of view