Page Links To

Beschreibung

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.

Common uses:

  • 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!

Mitwirken

Du kannst auf Github gerne mitarbeiten (oder einen Bug melden).

Screenshots

  • Die Page Links To Metabox in Aktion

Installation

  1. Lade den page-links-to Ordner in dein /wp-content/plugins/ Verzeichnis.

  2. Activate the „Page Links To“ plugin.

  3. Create (or edit) a page (or post or custom post type) to have a title of your choosing (you can leave the content blank).

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

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

  6. Save the page (or post or custom post type).

  7. 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.

FAQ

Installation Instructions
  1. Lade den page-links-to Ordner in dein /wp-content/plugins/ Verzeichnis.

  2. Activate the „Page Links To“ plugin.

  3. Create (or edit) a page (or post or custom post type) to have a title of your choosing (you can leave the content blank).

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

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

  6. Save the page (or post or custom post type).

  7. 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.

Wie mache ich es, damit die Seite nirgendwo hin verlinkt? Ich möchte sie als einen leeren (Dummy) Container nutzen.

Benutze einfach „#“ als Link. Dadurch wird nirgendwo anders hin verlinkt.

Kann das Plugin genutzt werden, so dass man Kategorien auf eine beliebige URL verweist?

Im Moment nicht. Bitte kontaktiere mich (engl.), falls du an dieser Funktionalität interessiert bist.

Meine Links verweisen auf: http://myblog.com/site-i-wanted-to-link-to.com … Warum?

Wenn du auf eine vollständige URL verlinken willst, dann must du auch das http:// voranstellen.

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

Ja. Auf /my-photos.php zu verlinken ist eine gute Idee, da das auch nach einem Umzug auf eine andere Domain noch funktionieren wird.

Rezensionen

Spamming

This used to be a great plugin and now the author is persistently spamming the admin area for all users to see with nags to his upgrades and newsletter.

Perfect!

This plugin is simple, elegant, and works perfect. No fuss, no mess. Just activate it and your good to go. This is exactly how every plugin should work.

This Redirect Works Perfectly

I used to be a web programmer before switching over to WordPress. During that programming time, I used „redirects“ frequently. I am so happy I found and installed this plugin that I can use with my menu to seamlessly jump to my Etsy site without making my users click around in order to find it! Easy to use. Powerful!

Lies alle 112 Rezensionen

Mitwirkende & Entwickler

„Page Links To“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Page Links To“ wurde in 25 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Page Links To“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

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.
  • Option zur Auswahl der Weiterleitung entfernt. Jetzt immer Weiterleitung 301.
  • Verschiedene Rückwärtskompatibilitäten zu PHP4 und WP 2.8 entfernt.

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

  • Die „in neuem Fenster öffnen“Funktionalität behoben.