What’s the least redundant way to make a site with JavaScript-generated HTML crawlable?

Why didn’t I think of this before! Just use http://phantomjs.org. It’s a headless webkit browser. You’d just build a set of actions to crawl the UI and capture the html at every state you’d like. Phantom can turn the captured html into .html files for you and save them to your web server. The whole … Read more

Do SEO-friendly URLs really affect a page’s ranking? [closed]

I will let google answer to your question: http://googlewebmastercentral.blogspot.com/2008/09/dynamic-urls-vs-static-urls.html In the article: Which can Googlebot read better, static or dynamic URLs? […]While static URLs might have a slight advantage in terms of clickthrough rates because users can easily read the urls, the decision to use database-driven websites does not imply a significant disadvantage in terms … Read more

How to force telegram to update the link preview?

Go to @webpagebot and send the link (up to 10) you want to update. Automatically will scan your site and generate the new image thumbnail, site name and description. Remember to have og prefix in your html tag as: <html prefix=”og: http://ogp.me/ns#”> or telegram bot will not update the graph cache. via telegramgeeks

SEO title vs alt vs text [closed]

Alt is not a valid attribute for <a> elements. Use alt to describe images Use title to describe where the link is going. The textvalue (click here) is the most important part The title attribute gets more and more ignored. Google looks far more on the link text than the title attribute. For google the … Read more

Should I have aside element ouside or inside of main element?

In HTML5 it’s only defined that aside is “related to the content around the aside element”. In HTML 5.1 (CR) the definition became more specific, as it now says that aside is “related to the content of the parenting sectioning content“. Following the newer definition, the aside element should be inside of the section element … Read more

ASP.net MVC support for URL’s with hyphens

C# version of John’s Post for anyone who would prefer it: C# and VB version on my blog public class HyphenatedRouteHandler : MvcRouteHandler{ protected override IHttpHandler GetHttpHandler(RequestContext requestContext) { requestContext.RouteData.Values[“controller”] = requestContext.RouteData.Values[“controller”].ToString().Replace(“-“, “_”); requestContext.RouteData.Values[“action”] = requestContext.RouteData.Values[“action”].ToString().Replace(“-“, “_”); return base.GetHttpHandler(requestContext); } } …and the new route: routes.Add( new Route(“{controller}/{action}/{id}”, new RouteValueDictionary( new { controller = “Default”, … Read more

Redirecting 404 error with .htaccess via 301 for SEO etc

I came up with the solution and posted it on my blog http://web.archive.org/web/20130310123646/http://onlinemarketingexperts.com.au/2013/01/how-to-permanently-redirect-301-all-404-missing-pages-in-htaccess/ here is the htaccess code also RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . / [L,R=301] but I posted other solutions on my blog too, it depends what you need really

How do I redirect without www using Rails 3 / Rack?

In Ruby on Rails 4, removing www. from any URL whilst maintaining the pathname can be achieved simply by using: # config/routes.rb constraints subdomain: ‘www’ do get ‘:any’, to: redirect(subdomain: nil, path: ‘/%{any}’), any: /.*/ end In contrast, adding www. to the beginning of any URL that doesn’t already have it can be achieved by: … Read more

tech