Title: Plugin generating incorrect URL
Last modified: August 22, 2016

---

# Plugin generating incorrect URL

 *  [juancoob](https://wordpress.org/support/users/juancoob/)
 * (@juancoob)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-generating-incorrect-url/)
 * On loop pages, the bitlink generated corresponds to the last post loaded in the
   page. Not to the page itself. Is this an identified behavior?
 * I figured that one of the ways to do it is to get the permalink of the page where
   I am and then pass it onto the shortcode <?php wpbitly_shortlink(); ?> as an 
   argument?
 * Would that make anything happen?
 * Just deliriously wondering about this…
 * [https://wordpress.org/plugins/wp-bitly/](https://wordpress.org/plugins/wp-bitly/)

The topic ‘Plugin generating incorrect URL’ is closed to new replies.

 * ![](https://ps.w.org/wp-bitly/assets/icon.svg?rev=3272740)
 * [Bitly's Wordpress Plugin](https://wordpress.org/plugins/wp-bitly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-bitly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-bitly/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-bitly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-bitly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-bitly/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [juancoob](https://wordpress.org/support/users/juancoob/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-generating-incorrect-url/)
 * Status: not resolved