Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Bitly Integration #30

Open
raamdev opened this issue Feb 27, 2015 · 1 comment
Open

Feature Request: Bitly Integration #30

raamdev opened this issue Feb 27, 2015 · 1 comment

Comments

@raamdev
Copy link
Owner

raamdev commented Feb 27, 2015

It would be nice to be able to integrate with Bitly. There are two ways this could work:

  • Shorten the Target URL with Bitly and offer the Bitly URL in place of the WP Redirects-generated Source URL (i.e., the redirect permalink).**

    This would mean WP Redirects would be bypassed entirely, with people visiting the Bitly URL going straight to the Target URL--WP Redirects wouldn't be able to maintain any stats and really wouldn't be serving as anything more than a Bitly-generator and a collection of Bitly URLs.

  • Shorten the Source URL with Bitly and offer the Bitly URL in addition to the WP Redirects-generated Target URL.

    The Bitly URL would just be stored as a Custom Field on the Redirect and would become another way of referencing the redirect. By pointing Bitly to the Source URL, someone visiting the Bitly URL would go Bitly → WP Redirects Source URL → Target URL. While this means an extra "hop" from the visitors perspective, it would also mean that basic WP Redirects stats are collected along with the more comprehensive stats collected by Bitly.

    It would also mean that as long as the Redirect Source URL (the Redirect permalink) doesn't change, the Bitly URL will always redirect to whatever Target URL is configured in WP Redirects; if the Target URL changes, the Bitly URL would still work.

The latter is my preference. Any thoughts @jaswsinc?


Forked from: wpsharks/wp-kb-articles#64 (comment)

@jaswrks
Copy link

jaswrks commented Feb 27, 2015

It would also mean that as long as the Redirect Source URL (the Redirect permalink) doesn't change, the Bitly URL will always redirect to whatever Target URL is configured in WP Redirects; if the Target URL changes, the Bitly URL would still work.

That sounds perfect to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants