Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Page Links To

Omschrijving

This plugin allows you to make a WordPress page (or post or custom post type) link to a URL of your choosing, instead of its WordPress URL. It also will redirect people who go to the old (or “normal”) URL to the new one you’ve chosen.

Veel voorkomend gebruik:

  • Set up navigational links to non-WordPress sections of your site or to off-site resources.
  • Publish content on other blogs (or other services, like Medium) but have them show up in your WordPress posts stream. All you have to supply is a title and a URL. The post title will link to the content on the other site.
  • For store operators, you can link to products on other retailer’s sites (maybe with an affiliate code) but have them show up like they’re products in your store.
  • Create a “pretty URL” for something complicated. Say you have https://example.com/crazy-store-url.cgi?search=productId&sourceJunk=cruft … just create a WordPress page called “My Store” and use Page Links To to point it to the ugly URL. Give people the new URL: https://example.com/my-store/ and it will redirect them!

Draag bij

You can contribute (or report bugs) on Github.

Schermafdrukken

  • The Page Links To meta box in action
  • The quick Add Page Link dialog.

Installatie

  1. Upload the page-links-to folder to your /wp-content/plugins/ directory.

  2. Activeer de “Page Links To” plugin.

Existing Content Usage:

  1. Bewerk een pagina (of bericht of aangepast berichttype).

  2. Below, find the Page Links To widget, select “A custom URL”, and add a URL of your choosing.

  3. Optionally check the box to enable link opening in a new browser tab.

  4. Bewaar de pagina (of bericht of aangepast berichttype).

  5. Done! Now that content will point to the URL that you chose. Also, if anyone had the old WordPress URL for that content, they will be redirected to the custom URL if they visit.

Maken van nieuwe pagina links:

  1. Klik op pagina’s > Voeg nieuwe pagina link toe.

  2. Geef een titel en een bestemming URL op.

  3. Geef optioneel een aangepaste slug op, die wordt gebruikt bij het maken van een lokale omleiding URL.

  4. Click Publish.

FAQ

How do I make it so that a page doesn’t link to anything? I’d like to use it as a dummy container.

Just use “#” as the link. That won’t go anywhere.

Can this be used to repoint categories to an arbitrary URL?

Not currently. Please contact me if you’re interested in that functionality.

My links are sending me to http://myblog.com/site-i-wanted-to-link-to.com … why?

If you want to link to a full URL, you must include the http:// portion.

Can I link to relative URLs for URLs on the same domain?

Yes. Linking to /my-photos.php is a good idea, as it’ll still work if you move your site to a different domain.

Beoordelingen

17 november 2020
I tried two other redirect plugins before finding this one which got the job done, easily! I was able to redirect every page, including the home pages without issue. Highly recommend. Nice 301 redirect.
3 september 2020
I'd give this 6 stars if I could. All I wanted to do was on-the-fly make a page with no link. This lets me insert the link javascript:void(); with no problem. I know I can add a menu item with no URL to act as link to subpages, but I'm using the Nested Pages plugin, which doesn't have that option in the menu it creates. Many thanks for a simple, useful plugin.
21 augustus 2020
Thanks for building and support this plugin through the years. It is something i use on tons of client sites. Very intuitive and easy to use. Props for keeping it focused and lean.
23 juni 2020
Pleasant user experience and works as expected. The code is easy to follow and reason about. 👍
Lees alle 138 beoordelingen

Bijdragers & ontwikkelaars

“Page Links To” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Page Links To” is vertaald in 29 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “Page Links To” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

3.3.5

  • Fix a bug that could cause new installs to constantly try to update the storage format.

3.3.4

  • Bug fixes

3.3.3

  • Add a SlotFill in the Block Editor, for extension.
  • Fix New Tab support in Internet Explorer.

3.3.2

  • Fix a small new tab JS error.

3.3.1

  • Fix WordPress 5.2 Block Editor (plugin will NOT be in its own panel if you’re using WordPress 5.2).

3.3.0

  • Move Block Editor UI into its own panel.
  • Compatibility with Elementor.
  • Allow posts to load in the customizer (used by some front-end editing plugins).
  • Allow the “open in new tab” functionality to be completely disabled with a filter.
  • Make “open in new tab” more reliable.

3.2.2

  • Bug fixes
  • Better compat with custom post types in the Block Editor

3.2.1

  • Bug fixes

3.2.0

  • Block Editor improvements
  • Smaller build

3.1.2

  • Customizer bug fix

3.1.1

  • Blok-editor fouten verholpen

3.1.0

  • Ondersteuning voor de blok-editor (Gutenberg)

3.0.1

  • Een PHP waarschuwing gerepareerd veroorzaakt door sommige thema’s

3.0.0

  • Snelle paginalink toevoegen UI
  • Externe link indicator
  • Short URL copying
  • Short URL display on edit screen

2.11.2

  • Newsletter

2.11.1

  • Restore PHP 5.3 compatibility, broken in 2.11.0

2.11.0

  • Code cleanup

2.10.4

  • New screenshot and assets

2.10.3

  • Fix readme.txt

2.10.2

  • Fix bug in Internet Explorer

2.10.1

  • Version bump

2.10.0

  • Switch to ES6 and Babel from CoffeeScript
  • Remove jQuery as front-end requirement
  • Bump supported version

2.9.10

  • Bump supported version

2.9.9

  • Back out jQuery protection code that causes issues on some sites

2.9.8

  • Added a Russian translation
  • Maintain a reference to WordPress’ jQuery version
  • Modernize build tools

2.9.6

  • Fixed an issue with redirects that have @ in the URL
  • Fixed issues with setting and displaying custom URLs for attachments

2.9.5

  • Made relative URLs absolute in redirects
  • Fixed a potential PHP warning
  • Registered the metadata fields for better XML-RPC integration

2.9.4

  • Add Hungarian translation.

2.9.3

  • Only rely on an internal cache for wp_list_pages() processing, and time-limit the cache.
  • Work around some weird edge cases

2.9.2

  • Restore WordPress 3.4.x functionality.

2.9.1

  • Fix a redirection bug in 2.9

2.9

  • Respect “open in new tab” setting in more custom situations, like custom loops and widgets.
  • Add unit tests
  • Massive code refactoring
  • Added translations for: Spanish, Catalan, French.

2.8

  • Added translations for: Swedish, Hebrew.

2.7.1

  • Fix an array bug

2.7

  • Fix a PHP notice
  • Use JS to open links in an external window, even outside of nav menus
  • Completely revamped UI
  • Several translations

2.6

  • Proper linking for custom post types (insead of just a 301).
  • Fixed a bug that prevented links from opening in a new window.
  • Notifies people when they are editing content that uses this plugin.
  • Removed the option to set redirection type. Always 301, now.
  • Removed some PHP4 and WP 2.8 back compat stuff.

2.5

  • Allow all show_ui post types to use the meta box.
  • Introduce a filter so a plugin can remove a post type from the list.
  • Target filtering for WordPress nav menus.
  • Silence some PHP notices. Props Ross McKay, Bill Erickson.

2.4.1

  • Fixed typo that was preventing 302 redirects from working. props Ryan Murphy.
  • Fixed a random PHP notice

2.4

  • Rewrote using Singleton best practices
  • Fixed a regex bug that could break current menu highlighting. props skarab

2.3

  • Fixed a bug with current menu item highlighting

2.2

  • Cleanup
  • compatibility tweaks to interoperate with a few other plugins
  • prompt http:// and auto-add it if a URL starts with “www.”

2.1

  • WordPress MU compatibility for when switch_to_blog() is used… it now uses $blog_id to keep their caches from stomping on each other

2.0

  • Allow one-character URLs so that things like “#” (dummy link) are possible

1.9

  • Fixed “open in new window” functionality