Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Richard Thripp

    (@richardxthripp)

    I will make a note of this, but the next version of Tweet This is probably 2 weeks off. If you want to save four characters, why use the www subdomain at all? WordPress does not use it by default and major websites like twitter.com and wordpress.com have also rejected the www precedent. It may have been necessary for consumer adoption in 2000, but not in 2010.

    Thread Starter wprunner

    (@wprunner)

    I use the www because I think it is visually better to see the domain name, so I believe that’s better for the visitors.

    But anyway, since I use it, I should not revert to “no www”. The same case for when you don’t use it, you should not add the www.

    The only reason that I want to save the 4 characters is for twitter tweets. If it wasn’t that, I would of used the complete permalink.

    Also, I don’t want to use URL shortening services, because I simply want to use my domain name and give my domain a better exposure.

    Plugin Author Richard Thripp

    (@richardxthripp)

    Try replacing all instances of get_bloginfo('url') with str_replace('www.', '', get_bloginfo('url')) in tweet-this.php. There are 9 of them. I will add an option for this in the next version.

    Plugin Author Richard Thripp

    (@richardxthripp)

    Also, make sure to flush the Tweet This URL cache after making the above changes. That’s something else I need to fix—Tweet This should not cache local URLs to the wp_postmeta table—only external short URLs.

    Thread Starter wprunner

    (@wprunner)

    Thanks for you support on your forum and the other plugin forum.

    Plugin Author Richard Thripp

    (@richardxthripp)

    Hey, you’re welcome.

    Plugin Author Richard Thripp

    (@richardxthripp)

    I have decided not to make this a user option. Tweet This 1.8.1 removes www. automatically from local URLs. Hopefully, everyone who uses www has the non-www versions forwarding by HTTP 301.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Tweet This] WP Local URL shortner with no www’ is closed to new replies.