Updating shortlinks from staging [closed]

There are 2 solutions to your problem: You can go to the Jetpack menu in your dashboard and disconnect, then reconnect to WordPress.com. It will force an update of your Jetpack settings. You can contact the Jetpack support team here: http://jetpack.me/contact-support/ They can update your Jetpack settings for you.

Replacing the WP.me URL shortener with Bit.ly

Totally possible, here is a great walkthough: http://bavotasan.com/2010/create-bit-ly-short-urls-for-your-posts-in-wordpress/ Bullet points: -Write a function that gets the bitly link upon publish -Remove the default action and add your own -Call wp_get_shortlink() like normal and bitly will be used

How to remove ?p= from wordpress short links

I am not sure how you removed ?p= from the link but you can use get_shortlink filter to override the shortlink. You can refer following article for more details. http://www.wpbeginner.com/wp-themes/how-to-display-wordpress-shortlinks-in-your-theme/ Reference to get_shortlink filter: https://developer.wordpress.org/reference/hooks/get_shortlink/ Can you share some more details on how you removed the ?p= from the link?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)