Shared publicly  - 
 
How to set up a "yourdomain.com/+" redirect in one .htaccess line:

RedirectMatch ^/\+(.*)$ http://plus.google.com/YOUR•PLUS•ID•HERE$1

For example, mine is:

RedirectMatch ^/\+(.*)$ http://plus.google.com/114592751246503219483$1

This causes http://dsandler.org/+ to show my posts by default but allows you to append "about", "plusones", etc, e.g.: http://dsandler.org/+/about .

(Inspired by +Ade Oshineye and many others.)
138
200
Luke Lewis's profile photoPatrick Jr. Caulton's profile photoGabriel Reynoso's profile photoDon Campbell's profile photo
26 comments
 
You could just wrap it in an <iframe />
 
Yeah, but I don't think G+ supports CNAME stuff yet. Let me know if you figure it out, though!
 
G+ detects IFrames? That'd be interesting ...
... prolly "prophelatic measures" to avoid having contents hijacked.

/me isn't fond of HootSuite and such, not even StumbleUpon.
 
Any possible way to transfer this to a web.config file? For Windows Server users?
 
I'm sure it can be done; it's just a 302 redirect. I'm just not familiar with web.config
 
Actually, based on five seconds of Googling, this might work:


<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Redirect to Google+" stopProcessing="true">
<match url="\+" />
<conditions>
<add input="{HTTP_HOST}" pattern="^domain.com$" />
</conditions>
<action type="Redirect" url="http://plus.google.com/PLUS_ID_HERE"
redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

Or something. Try at your own will.
 
Yeah, I havent touched web.config in a while but if i have a choice of windows or linux servers..windows always wins ;)
 
+Rob Bredow suggested vanity URLs; this is a nice workaround for that, for those with their own domains.
 
Using mod_rewrite seems like the long way around, not to mention it adds additional overhead to the web server (all be it a minute amount). For an easy way that works with any web server, including IIS, simply create a folder named '+' on the web server and have the default page do a redirect.
 
A simple rule in the htaccess did it for me. No mess no much.
Add a comment...