I have a model Page with additional fields keywords and description for SEO.
How to implement the SEO functionality in Rails and add meta tags with keywords and description on every page?
You might want to have a look at two plugins:
https://github.com/mokolabs/headliner
https://github.com/lassebunk/metamagic
And read about other SEO techniques for Rails applications here:
http://lassebunk.dk/2011/03/09/rails-seo-pack/
I guess you are storing separate keywords and description for each page in your Page model.
You make a layout that is available for all your pages, that shows instance variables (formatted the way you want them) #keywords and #description.
Related
I would like know about changing the content of meta tags in keywords using javascript on each page, to make keywords different for each page. Is it good for the SEO or not? Will GOOGLE be able to able to read the meta tag as i am changing the keywords with the help of javascript?
Google no longer counts the meta keywords tags. They stopped doing so since somewhere near 2009.Here is the official link of the announcement.
http://googlewebmastercentral.blogspot.gr/2009/09/google-does-not-use-keywords-meta-tag.html
You can check the article above from google support about what types of meta tags their bots are taking into consideration when they crawl your page.
https://support.google.com/webmasters/answer/79812?hl=en
On the other hand it is very good to have different pages for different keywords since only one of them is going to receive high ranking for a specific keyword.
But you have to do that without the meta keywords tags. You can use the title tags and the description tags also.You will can get some more by adding the keyword in the images alt text too. But yet again your meta keyword tags will have no value at all. So in my honest opinion try using the the methods i mentioned above and forget about managing the keywords with JavaScript.
If u have need more details feel free to ask in comments of my answer
Google is on record saying they no longer look at this meta keywords tag. As for the meta description and title tag, place text there that you think will optimize your click through rate on the SERPs, but don't cram keywords in.
Currently BigCommerce does a pretty good job at defining the canonical link for pages. But I am looking to update the behaviour for product list pages and remove the page number out of the link.
Currently it behaves as /category/?page=1, /category/?page2, and so on. I wish to elimate the page number completely and simple use /category
I prefer that search engines view all these pages as a single page as it is just the same data that is indexed from other places.
Currently the page defines the canonical link in the header as:
%%Page.CanonicalLink%%
I am looking to see if anyone has encountered this problem and is looking for a solution.
Thanks
I hope my question is not too irrelevant to stackoverflow.
this is my website: http://www.rader.my
It's a car information website. The content is dynamic. Therefore, google crawler could not find all the cars specification pages in my website.
I created a sitemap with all my cars URL in it (for instance: http://www.rader.my/Details.php?ID=13 is for one car). I know I haven't made any mistake in my .xml file format and structure. But after submission, google only indexed one URL which is my index.php.
I have also read about rel="canonical". But I don't think in my case I should use such a thing since all my pages ARE different with different content but only the structure is the same.
Is there anything that I missed? Why google doesn't accept my URLs even though the contents are different? What can I do to fix this?
Thanks and regards,
Amin
I have a similar type of site. Google is good about figuring out dynamic sites. They'll crawl the pages and figure out the unique content as time goes on. Give it time.
You should do all the standard things:
Make sure each page has a unique H1 tag.
Make sure each page has substantial unique content
Unique keywords and description tags aren't as useful as they used to be but they can't hurt.
Cross-link internally. Create category pages that include links to all of one manufacturer and have each of the pages of that manufacturer link back to 'similar' pages.
Get links to your pages. Nothing helps getting indexed like external authority.
It is a question about django that has found absolutely no answer for me.
Let's suppose I have a site where I display two blocks in the sidebar :
A list of the last users who've logged in
A list of the last published blog articles
Let's say that these blocks are to be displayed on 80% of the website urls and presented using template files.
The data for these blocks is generated by code (obviously), bt not by url views.
Well, how to do such a thing ?
You might want to take a look at custom template tags.
Edit: more specifically, look at inclusion template tags.
I have seen some websites use the following tag:
<meta type="title" content="Title of the page" />
Is it needed when you have a <title>?
Also, what's the best formatting for a page title? Some ideas:
Page Description :: Company Name
Page Description - Company Name
Page Description <> Company Name
Company Name: Page Description
...
Does it matter to Google/Yahoo/etc? Do you include the company name or a general description of the site in the title on every page?
The <meta type="title"> tag has little rank or relevance to search engine crawlers. The good old <title> tag is far and away the most important element of a good web page.
As for the format of the title, I think there is good advice in this article at Standards Schmandards:
If the title contains the name of the
site, the name of the site should be
placed at the end of the title. This
makes sure that multiple bookmarks
from the same site are easy to browse
through in the bookmarks folder and
listeners to your page get the most
important information first.
I would highly suggest that you do include the company name or site name at the end of each title because:
Consistency is always a good idea.
Newer browsers like Firefox 3 allow you to search your history and bookmarks by page titles, so users can easily get a view of all the pages they've visited on your site by simply typing in your company name or site name.
People that use screen readers will have no idea what website they are visiting if it isn't listed somewhere on the page.
However, I would not put a description of the site anywhere but on the home page because that would make the title unnecessarily long and would frustrate screen reader users because they would have to make an extra effort to skip that information on every page they visit.
If you do decide to put the company name in your title, keep these things in mind (also from Standards Schmandards):
The separator character should be
distinct so that users understand
that it is a separator. (I.e. it
should not appear as part of text
items in the title).
Prime candidates to use as separators are the vertical bar (|),
the dot (ยท) and the dash (-).
Regardless of the character you pick, it is important to surround it
with whitespace. This will aid both
sighted visitors and listeners as it
will distinguish the character from
the title text.
Based on all the information herein, that essentially makes the second example in your question the obvious choice:
<title>
Page Description - Company Name
</title>
Search engines often ignore meta tags as in the past they where used for spamming purposes. The best tag for title is precisely <title>.
As the best formatting for the title there is no best recipe, but instead try to make the title as descriptive as possible of the real contents of the page.
Meta Robots: This tag enjoys full support, but you only need
it if you DO NOT want your pages indexed.
Meta Description: This tag enjoys much support, and it is well worth using.
Meta Keywords: This tag is only supported by some major crawlers
and probably isn't worth the time to implement.
Meta Else: Any other meta tag you see is ignored by the major crawlers,
though they may be used by specialized search engines.
is what you want to use, because it stands out more than meta tags to most search engines.
My suggestion is to put the keywords that matter first, and avoid repeating the name of your business other than on the homepage, because this only serves to dilute the value of the title text.