Rails SEO Tips 90% Completed

Too many projects, too little time.  I got most of my Rails SEO hints page completed tonight, after finally implementing more of the suggestions I was making in Daily Bingo Cards itself.

The Table of Contents

The page is still a bit of a work in progress, of course.  I intend to keep it updated and continue gradually expanding the content.  Plus it is 2 AM and I really have no effort to do make the code samples more pretty (what can you expect — I built them by hand in notepad — lots and lots of ampersands, let me tell you). 

If you have any comments about the article, feel free to leave them here.  If you know any Rails developers who might be interested in the resource, please feel free to pass it on to them.

Explore posts in the same categories: Rails, SEO

Tags: , , , ,

You can comment below, or link to this permanent URL from your own site.

99 Comments on “Rails SEO Tips 90% Completed”

  1. Charlie Says:

    My instinct is to just agree with you wholeheartedly about the pretty URLs because… well, they’re just so darn pretty.

    But they’re not without their shortcomings, either. If the value of the field you use for your slug changes, the URLs already floating around in the world for that resource are now invalid. Not likely with your simplified example of bingo card categories, but quite likely for many other types of resources. This, is why you should consider prepending the id to the slug. Maybe the lazy guys are onto something.

  2. Patrick Says:

    That is a good point. I’d suggest, rather than prepending the ID, just to save the slug in the database. Let the underlying data change as much as it wants to, but keep the slug static.

  3. Patrick Says:

    Incidentally, there is a reason for that. Your approach is workable for the user experience but suboptimal from the point of view of search engines. For example, consider a blog engine with slugs based on titles. If you rename the post three times, you could potentially have links (and link juice) split among three links. Worse, you now have canonicalization issues because Google thinks that all three are distinct pages with duplicate content! Bam go your rankings! Boo. Instead, make a good first guess at the slug and, if you ABSOLUTELY must be able to change that later, do it with a redirect table.

  4. Charlie Says:

    Good points. It can become a bit more complicated when you’re not in complete control of the data, though. For example, a site with user-editable pages (and titles) may contain a page with a poorly chosen title. The title can be changed to better suit the content, but you’d still be stuck with a URL that may now be semantically incorrect.

    That’s probably not the case for most folks, though, so I may just be picking at the edge cases.

  5. pngl Says:

    Time to write a plugin that saves a field into a redirect table when it is modified, and adds a route to keep the old url valid.

  6. Guy Davis Says:

    Hi. I’m a big fan of pretty urls as well. For example, my site shows the popularity of your name at http://www.babynamemap.com/boys/Patrick Change the end of the url to another name and it will search for that.

    My big SEO challenge is that to build an engaging and interactive web-app these days, you need to use AJAX and dynamic interfaces. So, I lean heavily on ExtJS for their tree, grid, and window components. That’s great for humans visiting the site, but Google’s crawler completely ignores all the dynamic Javascript. For example, the table listing popular girls names in the US lets visitors quickly navigate a large dataset, but Google just sees the generic HTML page and not the actual popular name data.

    It’s kind of a chicken and egg problem. I need to build an interactive site to impress users and get word of mouth, but that means Google search thinks the site is worthless. Without Google liking my site, hardly anyone visits. Any ideas?

  7. Patrick Says:

    Interesting challenges there Guy. Let me think about it and get back to you.

  8. Thanks for the tip in regards to the titles and descriptions. I found that successful SEO is extremely challenging and that Google’s magic recipe for success relies on so much more than what information is currently available to us mere mortals in the web world.

    I’ve seen poorly optimized sites rank on the first page and well optimized sites rank way further down.

    As for Guy, you rank decently for the keywords “popular baby names”. I’m assuming you’ve used several optimization tools to check your keyword density, etc?

  9. Hao Says:

    very nice man! we are modifying my site with your suggestion

    I did find an error in your bookmark code where quotes are not escaped properly. I added this to the title variable

    .gsub(/’|”/, “\\\\'”)

  10. Stacy Seo Says:

    I am really impress with you for the selecting of new and unique topic and also well written article on it. Thanks for sharing with us.

  11. Never give up, which is the lesson I learned from boxing. As soon as you learn to never give up, you have to learn the power and wisdom of unconditional surrender.

    Obat PCOS

  12. Ankit Rajput Says:

    About Dr. Prashant Saxena Dr. Prashant Saxena is Head – Pulmonology Sleep Medicine and Senior Consultant

    Critical Care at Saket City Hospital. He underwent Fellowship training in Westmead Liverpool Hospitals,

    Sydney, Australia.Read here- Best lung specialist in Delhi

  13. Very informative blog. Thanks for sharing. If you want to get quick solution for Hotmail tech issues, then you can contact the technicians at Hotmail technical helpline number UK 0808-101-3524.

  14. Thanks for such a though-provoking blog. I have learned many news things from your piece of work and hope you will keeping on sharing posts like this. For other information regarding McAfee tech issues you can contact at McAfee phone number UK 0800-756-3354.

  15. Greaat article!!! Thanks for such a though-provoking blog. I have learned many news things from your piece of work and hope you will keeping on sharing posts like this.

  16. Mcafee support Says:

    That’s really awesome blog because i found there lot of valuable Information and i am very glad that you share this blog with us. http://antivirus-support-number.net/

  17. Positive site, where did u come up the information on this have read a few of the on your website now, and I really like your style. Thanks a million and please keep up the effective work.

  18. Thank a lot for this post that was very interesting. Keep posting like those amazing posts, this is really awesome 🙂

  19. I am new to this fantastic forum where i see many people helping each other out with out any self interest, i am a newbie here and i apologies in advance for any mistakes i might make here ….. http://www.europadtours.com/

  20. Amy_Parker Says:

    first of all really thankful for such a million dollar info.
    You had covered all necessary info and please keep on sharing the same.


  21. Fantastic information for reading and will also follow and use…

  22. priya Says:

    Nice Post Thanks For Sharing

  23. This blog is really to good…

  24. Erik Dixon Says:

    Hi author,
    My name is Erik Dixon, Thanks for such informative article. I am seeking this topic for one month. Do you have any other blog?
    facebook ads manager team.

  25. hi..
    awesome one..
    thanks for your good information

  26. SEO is best work in increase website ranking…

  27. Raj Mahi Says:

    One of the top notch female escort agencies at Goa welcomes your whole heartedly. The firm has received unparallel recognition and name in the nation for begin the provider of some of the creamiest female escort personalities to our local and international clients.
    Escort Services, cheap Goa Escort Services

  28. Ranchi girl Says:

    Call Monty 7979940680,We provide affordable independent busty call girls services to elite clients in Ranchi. Call us to hire exotic and gorgeous girls Escorts in budget rates.

  29. rajiuni Says:

    Thankyou sharing this information..@! http://www.packersandmoversmiyapur.com

  30. Great Information.
    Thanks for Sharing.

  31. Thanks for sharing this article. SEO activities on-page and off-page are must for Business promoting. We provide QuickBooks Support services in USA and Canada for Small Business.

  32. your blog has very good information which can help visitors to improve your knowledge. thanks for solving problem…

  33. Mariya Says:

    Awesome tips , SEO is very important for Increase the visibility of our sites, thank you for sharing the post.

  34. julie Says:

    incredible post , its very interesting and informative , thank you for sharing the post.

  35. Andheri Says:

    No matter the location you are in, you can definitely find that is available and which will come as fast as possible, as you get to choose the hour and how much time you want to be together.

  36. krishna Says:

    that was really a good post read by today iam very much thankful to about this post and i will learn better from this thanks once again

  37. Ak flowers Says:

    very nice article informative also

  38. jon009 Says:

    Microsoft office has a different version, and the entire version has the different setup file. Some of the version is Office 2013, Office 2016 and Office 365 etc.


  39. Awesome tips , SEO is very important for Increase the visibility of our sites, thank you for sharing the post.

  40. tunn Says:

    nice blog, a lot of helpful information for my job

  41. namct Says:

    hello, greate tutorial. i am searching for same, i find it thanks for sharing, log in section isn’t working, helpful your article.

  42. markflatcher Says:

    admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much


  43. Vishnu kumar Says:

    Awesome tips and SEO is very important for Increase the visibility of our sites, thank you for sharing the Article .i will follow your articles .

  44. krishna Says:

    iam very much thankful to you about this post and i learned better from this,thanks once again thats was very intreasting

  45. Oh really helpful post. i will visit again for another post.

  46. Those tips sounds good and i am going to apply for sure. Thanks

  47. Raj Mahi Says:

    perfect seo information

  48. dhruv raina Says:

    very intersting and handy in nature
    quick view

  49. medversus Says:

    With so many medical specialties the choice can be daunting.GPTQ has developed this resource to assist you to make informed choice about your carrer.


  50. dienmayhn Says:

    Thanks for sharing that Information. That is very useful for me
    The Dry Cabinet

  51. Your writing is very beautiful. i would love to follow you for more upcoming post. Thank you for sharing a post like this.

  52. Davidtakh Says:

    Hi, Thanks for this informative article about SEO.Please try to post a little bit more about SEO tips

  53. Thanks for sharing your valuable thoughts with us & our readers.

  54. apkeditorpro Says:

    Dissimilar to ordinary programming, you don’t have to apk editor download documents and after that introduce the applications on your gadget. Essentially open a Google record, and you will have the capacity to get to Android Market. You can get to the Market through a web program, or you can utilize the Android Market application. For more information visit here https://apkeditorpro.com/

  55. Anita Garg Says:

    Hello, Nice job..That is very helpful for me..// Thank You..!! Visit here http://www.mbbsoverseasstudy.com/

  56. web designing faridabad
    l I Web Technologyes
    .Thanks for Sharing … Nice Blog

  57. carter707 Says:

    Thanks for sharing this interesting article. Your website is very informative and helpful for me.

  58. Quicken is a tool that can be used for personal financial management, budgeting and money management. The different versions of Quicken are compatible with both Windows and Macintosh operating systems. Quicken can also be downloaded and installed on Mac operating systems. With Quicken, you don’t need to save receipts or jot anything as all your transactions will be imported instantly to your account. This tool also categorizes your transactions to store them in a single place that can be accessed without a mess.

    QUICKEN Support Toll-Free Number

  59. Ak flowers Says:

    Very informative learned alot from that. Now Order and Send Online Fresh
    Flowers . Same Day Delivery

  60. Microsoft Office Suite is a package of commonly used applications, services and servers. Its latest versions Office 2016 and Office 365 include some of the exciting applications that were not available in its previous versions. You can see Microsoft excel, access, OneNote, Outlook, PowerPoint, Publisher, Word and more. Both Office 2016 and Office 365 are can be downloaded and installed on Windows as well as Mac systems. As far as server applications are concerned, it packs in Microsoft Search Server and Lync Server, and also services like Docs.com and Microsoft Update.


  61. Islamic History of Muslim This is an Islamic website. In This site is written about Islam and science. Every Muslim should know about Islam and science. This website has been discussed about the Qur’an, Quran and science, Hadith, Paradise, Hell, The contributions of the Muslims in the field of knowledge science, Quran and science and so on. If you want to know anything about Islam and science, you can visit this site. http://www.islamichistoryofmuslim.com/

  62. Islamic History of Muslim This is an Islamic website. In This site is written about Islam and science. Every Muslim should know about Islam and science. This website has been discussed about the Qur’an, Quran and science, Hadith, Paradise, Hell, The contributions of the Muslims in the field of knowledge science, Quran and science and so on. If you want to know anything about Islam and science, you can visit this site. http://www.islamichistoryofmuslim.com/

  63. Thanks for the Wonderful Article enjoy reading it..

  64. Nice Deals Says:

    Great post keep up the good work. Thank for share

  65. Susan George Says:

    nice 1, thanks for sharing

  66. James Says:

    Very informative blog..

  67. Matt Bruce Says:

    Very informational post!

  68. Omega Says:

    Thanks for Sharing Your Thoughts!

  69. avinashkanugula Says:

    Really This blog is awesome! I was searching over search engines and found your blog site. Well, I like your high-quality blog site design plus your posting abilities. Keep doing it. @ http://stuffedition.com

  70. Hello, author.Very thankful to you for sharing very useful information.I am interested to read blog articles.

  71. Nice blog about seo, Thanks for giving informative blog.

  72. Nimisha Says:

    Just Amazing information. Thanks for sharing it.

  73. Anky Says:

    Love the way you described the information on an article. thanks for sharing

  74. Chirag Says:

    Oh! wow what an article. Just keep it up.

  75. surabhi Says:

    nice guide for SEO thanks for the sharing this informative information

  76. Forex Says:

    Get the Latest news in your hand .

    Get Free No Deposit Bonus $10 Up To $100 From INSTAFOREX

    Join Now … https://www.instaforex.com/?x=KWOH

    Please visit now…. http://www.oxowow.com

  77. saniyasharma Says:

    Awesome tips and guides included, this will surely help newbie bloggers to get a solid amount of traffics to their blogs, thanks for sharing these awesome tips.

  78. Jose Rafael Says:

    Great information, and a pretty good post!

  79. Ajay Sharma Says:

    Great Blog ! You have such a good knowledge About SEO, thanks for sharing with us.

  80. This is one awesome blog post. Keep writing.

  81. Riya Bansal Says:

    Great information, and a pretty good post!

  82. Riya Bansal Says:

    This is one awesome blog post. Keep writing

  83. sanjay tomar Says:

    thanks for sharing it is nice blog

  84. Riya Bansal Says:

    Thank you for sharing such a information.I am following your blog articles.It is very useful information for me.

  85. Nice post! keep up the good work The Blogging Arena

  86. Ani Tvshow Says:

    Nice post. Thank you for sharing a informative information with us. You may check-

    https://www1.kickassanime.io Watch Anime Online

  87. Your selection of topic is very good and also well written. Thanks for sharing. I feel like all your ideas are incredible! Great job!!!

    Comcast Billing Support

  88. Fokhrul Says:

    First of all i am saying that i like your post very much.I am really impressed by the way in which you presented the content and also the structure of the post. Hope you can gave us more posts like this and
    i really appreciate yours.Breaking news

  89. Indian Packers And Movers in Mumbai just not transport your goods, Indian Packers And Movers in Mumbai do full management for your relocation and make it a pleasant experience for you.Indian Packers Domestic movers takes his job seriously and honesty to do what best for customers, that has made us reliable and recommended Domestic packing and moving service provider in Mumbai and other major cities in India.Indian Domestic Movers is also Indian Packers And Movers in Mumbai ll known in Domestic City’s like Pune, Mumbai, Delhi, Kolkata,Bhopal,Jaipur and many others States. For expert domestic packers and movers in India look for Indian Packers and Movers.

    packers and movers in mumbai @ http://indianpackersmovers.in/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: