Simple URLs Legacy Plugin
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 y …
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.
- Upload the entire
simple-urls-legacy
folder to the /wp-content/plugins/
directory - DO NOT change the name of the
simple-urls-legacy
folder - Activate the plugin through the ‘Plugins’ menu in WordPress
- Navigate to
Settings > Permalinks
. That’s it. Just open that screen and WordPRess automatically flushes redirects. Trust me. - Navigate to the
Simple URLs Legacy
menu - Create a new URL, or manage existing URLs.
- 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
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
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
Screenshots
The URL management screen
The URL create/edit screen
FAQ
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/