• Hi,
    I just stumbled across this plug in and I am not sure if this could solve a problem I have for a long time. I have an extreme long TLD with my blog, which is fine, because it is good to read for the users. but when someone shares a post on twitter, it is annoying, because I also love to use a long path like

    www . my-really-extreme-long-domain-name.com / /%category%/%postname%/

    and with this the twitter post is almost out of characters.
    I now of course use stuff like bit.ly to shorten my urls.

    But finding this plug in I think about a possibility to shorten the url myself. There is in fact a very short form of my long TLD free, I could buy it. lets say it is “mreldn.co” for my-really-extreme-long-domain-name.com.

    Would it be possible to configure all this stuff in the way, that everything works like it does now, every menu, every plug in, every theme still user the long format, but the share-plug in for all the social stuff just posts the short url mreldn.co / ?p=123 and everything like twitter cards and stuff still works? This would be a great solution.
    If so, how to set up this kind of configuration? Do I simply buy the short TLD and point it to the webspace – directiory of the existing wordpress installation? How to tell the sharing plug in that it should use the short form of the link?

    It seems to be a really great plug in. But it seems to be free, and if I like something much, I like to pay for the stuff I use. So, is there any donation-button or something to give five bucks to?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chriskal

    (@chriskal)

    To make the last question a bit more clear: Can I just modify the “wp_get_shortlink()” to use the new, shorter TLD? And if so – how?

    Thread Starter chriskal

    (@chriskal)

    ok I found out how to modify the “wp_get_shortlink()” function. I added a filter and called a new function witch simply changed the url. Works fine, the posted link is the short version and twitter and facebook look up the pictures and stuff because with your plug in the social networks look up the data from the new, short version of the blog.

    My problem is now that the plug in works too well ?? It now shows all the links in the menu and so on with the new, short domain name. I guess this is what the plug in is supposed to do. Is there any way to tell the plug in something like “ok, use the short url when somebody from outside calles the page, but within the blog, with all links, menus, plugins and so on, always use the old, long, original domain name?”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘long and short – but mainly long’ is closed to new replies.