markjaquith / page-links-to

#WordPressPlugin: Lets you make a WordPress page (or other content type) link to an external URL of your choosing, instead of its WordPress URL.
GNU General Public License v2.0
110 stars 46 forks source link
wordpress wordpress-plugin

Page Links To

Build Status

Contributors: markjaquith
Donate link: https://txfx.net/wordpress-plugins/donate
Tags: page, redirect, link, external link, repoint
Requires at least: 4.8
Tested up to: 6.4
Stable tag: 3.3.7

Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site), instead of its normal WordPress URL.

Description

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:

Installation

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

  2. Activate the "Page Links To" plugin.

Existing Content Usage:

  1. Edit a page (or post or custom post type).

  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. Save the page (or post or custom post type).

  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.

Creating New Page Links:

  1. Click Pages > Add New Page Link.

  2. Provide a title and a destination URL.

  3. Optionally provide a custom slug, which will be used in creating a local redirect URL.

  4. Click Publish.

Screenshots

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

Frequently Asked Questions

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.

Contribute

You can contribute (or report bugs) on Github.

Changelog

3.3.5

3.3.4

3.3.3

3.3.2

3.3.1

3.3.0

3.2.2

3.2.1

3.2.0

3.1.2

3.1.1

3.1.0

3.0.1

3.0.0

2.11.2

2.11.1

2.11.0

2.10.4

2.10.3

2.10.2

2.10.1

2.10.0

2.9.10

2.9.9

2.9.8

2.9.6

2.9.5

2.9.4

2.9.3

2.9.2

2.9.1

2.9

2.8

2.7.1

2.7

2.6

2.5

2.4.1

2.4

2.3

2.2

2.1

2.0

1.9