When you change a page URL in WordPress, all internal links pointing to that page can break — this plugin fixes that automatically.
Auto Update Page Links 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.
🔧 Features
- Automatically replaces old URLs in:
- Page content
- Navigation menus
- Block templates
- Template parts
- Skips the page being edited to avoid recursion
- Logs all updates in /uploads/auto-update-page-links/
- Safe and lightweight — no database overhead
- Works seamlessly with the Block Editor (Gutenberg)
🛡️ Why use this plugin?
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.
- Click “Plugins” > “Add New” in the WordPress admin menu.
- Search for “Auto Update Page Links”.
- Click “Install Now”.
- Click “Activate Plugin”.
Alternatively, you can manually upload the plugin to your wp-content/plugins directory.
Frequently Asked Questions
Will it work with posts or custom post types?
By default, it only updates pages, but you can easily extend it in the code to support posts or custom post types.
Where is the log file saved?
Logs are stored safely at:
/wp-content/uploads/auto-update-page-links/auto-update-links.log
Can I disable logging?
Yes, you can comment out the $this->auplinks_log() calls in the class file if you prefer no logs.