WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#23303 closed enhancement (wontfix)

Dynamic links

Reported by: l23x4 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Permalinks Keywords:
Focuses: Cc:

Description

Missing the option to have dynamic links in WP.

Let me explain with an example:
Say you have 15 pages on your WP site.
On 8 of these you have linked to http://anothersite.com/content

Now say the other site moves the content you are linking to.
The new url is now http://anothersite.com/year/content

In todays WP you would need to edit all your 8 pages to get the links correct.
It would be nice to have the ability to add links to the links manager which would get an ID you could point the url to instead.

Example with improvement:
Say you have 15 pages on your WP site.
Now on 8 of these you link to http://yoursite.com/links/id=1

Link no.1 in the links manager would link to http://anothersite.com/content
and by clicking the link on your 8 pages you would be redirected to the url the link with id1 is refering to.

Now say the other site moves the content your link is reffering to.
The new url is now http://anothersite.com/year/content
With the improvement you would only need to change the one link in the links manager, and all 8 pages would be up to date.

Change History (4)

#1 @SergeyBiryukov
8 years ago

  • Component changed from Editor to Permalinks

Sounds like plugin territory to me. And there's a plugin for that:
http://wordpress.org/extend/plugins/the-permalinker/

#2 @scribu
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

The Link Manager was just killed in WordPress 3.5 and it's not coming back.

As Sergey said, it's plugin territory.

#3 @scribu
8 years ago

The shortcode approach is actually better than going through the link manager, since you avoid the extra step of creating a new link for each post. However, it doesn't work for linking to category archives or whatever.

And, if you really need to add a level of indirection between links, you could just install the Link Manager plugin to get back the pre WP 3.5 functionality.

#4 @scribu
8 years ago

Actually, this could be achieved with the Redirection plugin, since what you're asking for is a redirect manager, basically.

Note: See TracTickets for help on using tickets.