Trouble in SEOland: Ruby on Rails frustration
So I'm trying to integrate some META tags and whatnot into a website.
Turns out the site runs nginx on the server and appears to the using a Ruby on Rails framework.
The website is using ERB files that are somehow run from a template engine.
When I go to ..../sitename_main/stable/app/views/main/ (damn that's deep in the tree!)
I find a whole bunch of files that appear to be the ones I am looking for.
index.html.erb
page1.html.erb
So I open them up and it turns out that they start directly from the <body>, no doctype, head or title tags!
I did some digging and it turns out I may learn more by visiting
..../sitename_main/stable/app/views/layout/
in this subdirectory, there's a file called application.html.erb.
but it's empty?!
I'm so perplexed, please help. I do have programming experience and I just spent a few hours learning to program in Ruby, I got the hang of it, but I have no idea of what I'm doing in terms of Rails.
Merçi!
-
Jesus Carrera -
[ 1 ] Thanks - 1 reply
{{ DiscussionBoard.errors[2729035].message }}-
orvn -
Thanks - 1 reply
SignatureOrun Bhuiyan[@orvn] [linkedin] See what I've been doing lately by visiting my marketing agency's site. SEOcial specializes in content marketing and integrated optimization. We create conversions for businesses by gracefully connecting the realms of design, development and marketing.{{ DiscussionBoard.errors[2732494].message }}-
orvn -
Thanks
SignatureOrun Bhuiyan[@orvn] [linkedin] See what I've been doing lately by visiting my marketing agency's site. SEOcial specializes in content marketing and integrated optimization. We create conversions for businesses by gracefully connecting the realms of design, development and marketing.{{ DiscussionBoard.errors[2735386].message }} -
-
-
-
kersimp -
Thanks
{{ DiscussionBoard.errors[3151543].message }} -