Changeset 3383385
- Timestamp:
- 10/23/2025 12:27:34 PM (3 months ago)
- Location:
- auto-update-page-links
- Files:
-
- 2 added
- 1 deleted
- 1 edited
-
assets/banner.png (added)
-
assets/icon.png (added)
-
trunk/assets (deleted)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
auto-update-page-links/trunk/readme.txt
r3381346 r3383385 12 12 13 13 == Description == 14 - Updates page/post content15 - Updates navigation menus (wp_navigation)16 - Updates block templates (wp_template)17 - Updates template parts (wp_template_part)18 - Logs to `/wp-content/uploads/auto-update-page-links/auto-update-links.log`19 14 20 == Installation == 21 1. Upload `auto-update-page-links` to `/wp-content/plugins/` 22 2. Activate through **Plugins** 15 When you change a page URL in WordPress, all internal links pointing to that page can break — this plugin fixes that automatically. 16 17 <strong>Auto Update Page Links</strong> scans your site’s content, navigation menus, and block templates for outdated URLs and updates them whenever a page slug or permalink changes. It also logs these updates safely in the uploads directory. 18 19 ## 🔧 Features 20 21 Automatically replaces old URLs in: 22 23 Page content 24 25 Navigation menus 26 27 Block templates 28 29 Template parts 30 31 Skips the page being edited to avoid recursion 32 33 Logs all updates in /uploads/auto-update-page-links/ 34 35 Safe and lightweight — no database overhead 36 37 Works seamlessly with the Block Editor (Gutenberg) 38 39 ## 🛡️ Why use this plugin? 40 41 When you change a page’s slug or URL, your internal links can easily break, which hurts SEO and user experience. This plugin ensures everything stays consistent — automatically. 42 43 Installation 44 45 1. Click “Plugins” > “Add New” in the WordPress admin menu. 46 2. Search for “Auto Update Page Links”. 47 3. Click “Install Now”. 48 4. Click “Activate Plugin”. 49 50 Alternatively, you can manually upload the plugin to your wp-content/plugins directory. 51 52 Frequently Asked Questions 53 Will it work with posts or custom post types? 54 55 By default, it only updates pages, but you can easily extend it in the code to support posts or custom post types. 56 57 Where is the log file saved? 58 59 Logs are stored safely at: 60 /wp-content/uploads/auto-update-page-links/auto-update-links.log 61 62 Can I disable logging? 63 64 Yes, you can comment out the $this->auplinks_log() calls in the class file if you prefer no logs. 65 66 Screenshots 67 68 1. Automatically updates internal links when a page slug changes. 69 70 2. Log file safely stored in uploads directory. 23 71 24 72 == Changelog ==
Note: See TracChangeset
for help on using the changeset viewer.