Simple URLs Legacy

外掛說明

Simple URLs Legacy is a fork of the orignial plugin by Nathan Rice and Studiopress team. As such, it is a complete URL management system that allows you create, manage, and track outbound links from your site by using custom post types and 301 redirects, as it was meant to be.

Usage

Simple URLs Legacy adds a new custom post type to your admin menu, where you can create, edit, delete, and manage URLs. It stores click counts in the form of a custom field on that custom post type, so it scales really well.

And, by avoiding page based redirects, which is the current trend in masking affiliate links, we avoid any issues with permalink conflicts, and therefore avoid any performance issues.

  1. Upload the entire simple-urls-legacy folder to the /wp-content/plugins/ directory
  2. DO NOT change the name of the simple-urls-legacy folder
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Navigate to Settings > Permalinks. That’s it. Just open that screen and WordPRess automatically flushes redirects. Trust me.
  5. Navigate to the Simple URLs Legacy menu
  6. Create a new URL, or manage existing URLs.
  7. Publish and use the URLs however you want!

= 1.0.2 =
* 11/13/2023
* Updated Tested To vesion for WP 6.4.1
* Added logic to pull plugin version from main file header

1.0.1

  • 03/31/2023 #5FTF #WebDevStudios
  • Updated Tested To vesion for WP 6.2
  • Clean up documentation

1.0.0

  • 12/30/22 #5FTF #WebDevStudios
  • Initial release of Simple Urls Legacy

0.10.3

  • 11/25/2022 #5FTF #WebDevStudios
  • Add Published date to Simple URLs Legacy admin page

0.10.2

  • 11/25/2022 #5FTF #WebDevStudios
  • Applied WordPress coding standards
  • Tweaked plugin description.
  • Added required license declarations in readme.txt

0.10.1

  • 10/28/2022 #5FTF #WebDevStudios
  • Added conflict notice in admin if Simple URLs plugin is running.
  • Reworked constants for better readability.
  • Added build/dependency source files back in with updated dependencies.

0.10.0

  • 08/09/2022
  • Reverted plugin to last known state under original author – Nathan Rice (v0.9.9).
  • Renamed plugin from Simple URLs to Simple URLs Legacy.
  • URL structure modifier filter changed from ‘simple_urls_slug’ to ‘simple_urls_legacy_slug’.
  • Reworked naming conventions to use simple-urls-legacy namespace and package name.
  • Removed build/dependency source files.

0.9.9

  • Fixed URLs not properly redirecting.

0.9.8

  • Coding standards.
  • Added composer.
  • Added Circle CI integration.
  • Added new filter to change the slug.
  • Added REST support to ensure Simple URLs appear in list when linking text.
  • Added cast string to int to avoid type error.

0.9.7

  • WordPress compatibility.

0.9.6

  • Add plugin header i18n
  • Add textdomain loader

0.9.5

  • Changed messages and labels.
  • Updated textdomain.
  • Generated POT file.

0.9.4

  • Fixed saving bug

0.9.3

  • Removed capability line from the register function. Users with permission to edit posts can create/edit URLs.
  • Bumped to show compatibility with WordPress 3.0.4

0.9.2

  • Fixed a type in the plugin URL
  • Bumped to show compatibility with WordPress 3.0.2

0.9.1

  • Fixed bug with URLs with ampersands in them
  • Added 'with_front' => false to the post type registration

0.9

  • Initial Beta Release

螢幕擷圖

  • The URL management screen
  • The URL create/edit screen

常見問題集

When I try to access my new URL, I’m getting a 404 (not found) error

Sounds like you didn’t complete the installation instructions 🙂

Navigate to Settings > Permalinks and save them. No need to change anything, just click the save button.

Can I change the URL structure to use something other than /go/ ???

Yes, by using the filter simple_urls_legacy_slug.

Usage:
add_filter( 'simple_urls_legacy_slug', function(){
return 'redirect-me';
});

The text “redirect-me” will replace the default “go” in example.com/go/my-simple-url.
Eg. example.com/redirect-me/my-simple-url/

使用者評論

2023 年 12 月 5 日
This is a very nice plugin, exactly what I was looking for in order to track specific external linksI would just like to know how I can reset the click counter to 0?Thanks for your efforts.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple URLs Legacy〉的開發相關工作。

參與者

將〈Simple URLs Legacy〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄