Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Canonical tags from tumblr to our website for posts
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
amman.badl...@gmail.com  
View profile  
 More options Jun 17 2012, 3:31 pm
From: amman.badl...@gmail.com
Date: Sun, 17 Jun 2012 12:31:40 -0700 (PDT)
Local: Sun, Jun 17 2012 3:31 pm
Subject: Canonical tags from tumblr to our website for posts

So we built our customized theme using Ruby on Rails (not sure if this is
relevant for the questions), and we would like to put in canonical tags for
each post that lists the same exact post on our own website's blog as the
originator of that content.  Since we will have the same posts on both
sites, we want to avoid duplicate content issues with Google and other
search engines.  So my questions – is there a way we can possibly put
unique canonical tags in place for each post on tubmlr?  If so, how would
you recommend we do that and dynamically so we don't have to put one in
manually for each one?  In terms of implementation we can work with our
developers, but just want to first find out if it's possible with tumblr
pages.

Please let me know.

Best,

Amman


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amman.badl...@gmail.com  
View profile  
 More options Jun 17 2012, 3:42 pm
From: amman.badl...@gmail.com
Date: Sun, 17 Jun 2012 12:42:44 -0700 (PDT)
Local: Sun, Jun 17 2012 3:42 pm
Subject: Re: Canonical tags from tumblr to our website for posts

Hey there - to provide an example, take any given tumblr post of mine:

http://my-subdomain.tumblr.com/post/id/unique-post-name

I would want to place this in the <head> section:

<link rel="canonical" href="http://my-own-domain.com/unique-post-name" />

for the same post that appears on my own website, outside of tumblr.

Is that possible?

Thanks!
Amman


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Zhu  
View profile  
 More options Jun 18 2012, 5:47 pm
From: Sean Zhu <interestinglyth...@gmail.com>
Date: Mon, 18 Jun 2012 14:47:22 -0700 (PDT)
Local: Mon, Jun 18 2012 5:47 pm
Subject: Re: Canonical tags from tumblr to our website for posts

That doesn't look possible to me. :c

By the way, wouldn't that essentially make Tumblr a mirror for an
externally hosted blog? I don't think that in general, many web services
are a fan of hosting content that exists elsewhere…


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amman.badl...@gmail.com  
View profile  
 More options Jun 19 2012, 11:54 am
From: amman.badl...@gmail.com
Date: Tue, 19 Jun 2012 08:54:08 -0700 (PDT)
Local: Tues, Jun 19 2012 11:54 am
Subject: Re: Canonical tags from tumblr to our website for posts

Thanks for your reply, Sean - so are you saying that it's not possible to
add your own dynamically-generated meta tags to your tumblr pages if you
have a customized theme?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Zhu  
View profile  
 More options Jun 19 2012, 1:17 pm
From: Sean Zhu <interestinglyth...@gmail.com>
Date: Tue, 19 Jun 2012 10:17:03 -0700 (PDT)
Local: Tues, Jun 19 2012 1:17 pm
Subject: Re: Canonical tags from tumblr to our website for posts

Basically, Tumblr doesn't allow you to run your own server-side scripts.
There are quite a good few reasons why web services like Tumblr would make
this decision.

:(


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amman.badl...@gmail.com  
View profile  
 More options Jun 20 2012, 7:42 am
From: amman.badl...@gmail.com
Date: Wed, 20 Jun 2012 04:42:48 -0700 (PDT)
Local: Wed, Jun 20 2012 7:42 am
Subject: Re: Canonical tags from tumblr to our website for posts

Ok, so then the question becomes, can you insert your own meta tags
manually in each post?  Sorry if that's a dumb question - I don't have
experience creating customized themes but will be working with a vendor to
get that in place if possible.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amman.badl...@gmail.com  
View profile  
 More options Jun 20 2012, 7:48 am
From: amman.badl...@gmail.com
Date: Wed, 20 Jun 2012 04:48:38 -0700 (PDT)
Local: Wed, Jun 20 2012 7:48 am
Subject: Re: Canonical tags from tumblr to our website for posts

I meant to say "HTML element", rather than "meta tag" - is it possible to
insert my own HTML element manually in the form of this in the head section
in a customized tumblr theme for each post individually:

Unique Post Name 1
<link rel="canonical" href="http://my-own-domain.com/unique-post-name1" />

Unique Post Name 2
<link rel="canonical" href="http://my-own-domain.com/unique-post-name2" />

etc.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
felix bonkoski  
View profile  
 More options Jun 20 2012, 3:48 pm
From: felix bonkoski <felixschwer...@gmail.com>
Date: Wed, 20 Jun 2012 14:48:33 -0500
Local: Wed, Jun 20 2012 3:48 pm
Subject: Re: [Tumblr Themes] Re: Canonical tags from tumblr to our website for posts

I'm going to say the answer is "sort of" but "No", not really they way you
want.

First, you should know that the "slugs" that come after posts on Tumblr are
*not* unique. The only uniquely identifying feature of the Tumblr post is
the Post ID.

For example, in the URL:

http://my-tumblr-blog.tumblr.com/post/123456789/this-is-called-a-post...

Then the numbers (123456789) are the Post ID, and the other part
("this-is-called-a-post-slug") is the "Slug". The slug is *not* a unique
identifier on Tumblr.  It *could* be unique if Title and Content of every
one of your posts is unique, up to however many characters Tumblr will
include in the "slug"

These URLs are all equivalent on Tumblr:

http://my-tumblr-blog.tumblr.com/post/123456789/this-is-called-a-post...
http://my-tumblr-blog.tumblr.com/post/123456789
http://my-tumblr-blog.tumblr.com/123456789/

To my knowledge, there is no Theme Variable in the Tumblr Theme engine to
extract the post "slug".  You can however get the Post ID.  So you could
make a link with the *Post ID* like this on Permalink pages:

<link rel="canonical" href="http://my-other-domain.com/{PostID}" />

But as I don't think there is any way to get the "slug" in a
{ThemeVariable} I don't think you can do exactly what you want.

There's my two cents.

Felix


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amman badlani  
View profile  
 More options Jun 21 2012, 8:47 am
From: amman badlani <amman.badl...@gmail.com>
Date: Thu, 21 Jun 2012 05:47:32 -0700 (PDT)
Local: Thurs, Jun 21 2012 8:47 am
Subject: Re: [Tumblr Themes] Re: Canonical tags from tumblr to our website for posts

Thanks for your reply, Felix - very helpful!

I think this might actually work, because for our tumblr pages, (1) we do
actually have unique "slugs" for each post currently and (2) when you go to
any of our URLs with only PostID, they automatically 301 redirect
(permanently) to the URL with both PostID and Slug (for both shortened
versions, with or without the trailing slash).

So to be clear, the URL on my-other-domain.com does not need to match the
PostID and/or Slug.  So instead of the canonical being this:

<link rel="canonical" href="http://my-other-domain.com/{PostID}" />

I'm fine with it actually being this:

<link rel="canonical"
href="http://my-other-domain.com/blog/some-other-unique-identifier" />

But so then the question remains whether or not I would be able to add the
<link rel="canonical"
href="http://my-other-domain.com/blog/some-other-unique-identifier" />
canonical tag manually to the head section of the
http://my-tumblr-blog.tumblr.com/post/123456789/this-is-called-a-post... post
page.  Do you know if that's possible?

Note: it's important that the <link rel="canonical"
href="http://my-other-domain.com/blog/some-other-unique-identifier" />
canonical tag not be added to the head section of either
http://my-tumblr-blog.tumblr.com/post/123456789/<http://my-tumblr-blog.tumblr.com/post/123456789/this-is-called-a-post...>
 or http://my-tumblr-blog.tumblr.com/post/123456789<http://my-tumblr-blog.tumblr.com/post/123456789/this-is-called-a-post...>,
since they permanently redirect to
http://my-tumblr-blog.tumblr.com/post/123456789/this-is-called-a-post....

Thanks, Felix!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
felix bonkoski  
View profile  
 More options Jun 21 2012, 6:05 pm
From: felix bonkoski <felixschwer...@gmail.com>
Date: Thu, 21 Jun 2012 17:05:42 -0500
Local: Thurs, Jun 21 2012 6:05 pm
Subject: Re: [Tumblr Themes] Re: Canonical tags from tumblr to our website for posts

In the absence of a {ThemeVariable} that extracts the "slug", I really
can't think of a *clean* way to do this.

Here's my best idea:

   1. *Use the Source URL from the post.
   *
   2. For every post on Tumblr you create that is mirrored on *
   my-other-domain.com* make sure you set the "*Content Source URL*" for
   that post when creating the Tumblr post, and set that source URL to the
   Canonical URL.

   3. In the header of your Theme Code, do something like this:

<head>
.....
{block:PermalinkPage}
    {block:Posts}
        {block:ContentSource}
            <link rel="canonical" href="{SourceURL}" />
        {/block:ContentSource}
    {block:Posts}
{/block:PermalinkPage}
.....
</head>

Yes, It's OK to include 2 {block:Posts} in your Page! Tumblr will still
parse it correctly.  Wrapping the block in {block:PermalinkPage} will
ensure this link is only inserted on the post Permalink pages.

*However*, now every time you set a SourceURL on a post, it will include
this canonical link!  So don't set a SourceURL if you don't want this
<link> created!

Tumblr just doesn't give you the kind of control you're looking for to
embed custom things *directly onto the HTML of the page*,  but hopefully in
your situation this will work OK.

Felix


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amman.badl...@gmail.com  
View profile  
 More options Jun 24 2012, 8:33 pm
From: amman.badl...@gmail.com
Date: Sun, 24 Jun 2012 17:33:35 -0700 (PDT)
Local: Sun, Jun 24 2012 8:33 pm
Subject: Re: [Tumblr Themes] Re: Canonical tags from tumblr to our website for posts

Thanks so much again for your help, Felix!  I'm going to try this out and
see if we can get it working.  I'll keep you posted on progress.

Best,
Amman


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »