The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
10 views

How to replace part of shortlink with nothing

I am attempting to shorten the wp_get_shortlink. I want to remove the "http://" which is unnecessary. I have attempted the regular php way of (Replace("http://"," " )); but it seems WordPress has a ...
0
votes
0answers
37 views

Permalink with passed query string parameters not working

Within our site, using a custom theme we have a specific page that contains a query string to acquire an "abstract" using a talkid and programcode. The issue we are experiencing is that Google Search ...
0
votes
1answer
28 views

How to append short url to specific external links

I'm trying to find a way to pass on the page ID as a string for certain links. For example, any link that starts with http://forms.woo.com/ will have " ?pageurl='http://example.com/?p=1234' " ...
0
votes
0answers
242 views

Shortlink in header points to 404, but actual page does not

I've inherited a website whose permalinks are 200 and open fine: http://www.example.com/test-1 While looking at the source, the shortlink specified in the link tag points to 404s: <link ...
0
votes
0answers
188 views

How do I generate a alphanumeric hash for a custom post type in wordpress?

I have a wordpress website that uses a custom post type, video. I want my permalink for the video posts to generate unique alphanumeric ID like this, http://example.com/video/ha3unq04X similar to ...
1
vote
0answers
28 views

Short URL in content

One of our clients is looking to use shortURL's in their content posts. Does anyone know if it's possible to setup shortURL's in the content of posts? I know bit.ly offers a shortURL for the post url ...
0
votes
1answer
140 views

linking to post outside the loop

Is there an easy way to link to a specific page/post outside the loop? I used the get_permalink() code as follows. <a href="<?php echo get_permalink( 164 ); ?>/post-slug/"> </a> ...
0
votes
1answer
290 views

How to include DW Question & Answer plugin in front page template?

I tried using a shortlink code, but only the link is displaying and it isn't working either. <?php the_shortlink('http://abc.com/?p=52'); ?> I am using DW Question & Answer plugin and ...
0
votes
1answer
77 views

Updating shortlinks from staging [closed]

Many of the shortlinks on pages of our site are links to our staging site. The current live site started life as the staging version, so I imagine that's why, but I don't know how to fix the issue. ...
2
votes
1answer
184 views

Problem duplicated shortlinks bitly

I've this plugin to create shortlink using the bitly API, but there's a problem! function yoast_bitly_shortlink($url, $id, $context, $allow_slugs) { if ( ( is_singular() && !is_preview() ...
1
vote
1answer
277 views

Random Alphanumeric Key URLs

I need random (and unique) alphanumeric permalinks. I've looked at several plugins but they all seem to do some form of redirection to a longer URL. That's not what I want, I want the permalink to be ...
0
votes
1answer
79 views

Use shortlink as permalink

I'm using Url shortener plugin with bit.ly API. When I use the bit.ly url, it's redirecting to my Wordpress permalink. How Can I use the bit.ly all the time ? I want the bit.ly url become the ...
2
votes
2answers
578 views

Social sharing post's shortlink instead of permalink

Is there a way to force a social sharing plugin to use the shortlink each of my WP posts automatically gets (YOURLS service in my case) to pass to the social service the visitor clicked, instead of ...
0
votes
1answer
177 views

Remove short link tag from particular page

I want to remove the short link header tag from a specific page. Please suggest me a filter guys. I want to remove the entire <link rel='shortlink'... section from a specific page. Adding a ...
0
votes
1answer
875 views

Replacing the WP.me URL shortener with Bit.ly

I am setting up a big blog for a client and we're looking to replace the wp.me shortlinks in the header and in everything with our custom domain on bit.ly. I have working code to build the ...
2
votes
1answer
317 views

Change link to other post to shortlink in the editor

Curently if we use the insert link dialog to insert a link to another post, WordPress always use the permalink of that post. The problem is when we change permalink structure, that link will be ...