- What is novius/laravel-nova-redirect-manager used for?
- It provides a Laravel Nova tool for creating, editing, and tracking URL redirects. It works with spatie/laravel-missing-page-redirector so you can manage legacy links and changed URLs from a Nova admin UI instead of hardcoding redirects. It is useful for site migrations and preserving SEO.
- How do I install novius/laravel-nova-redirect-manager?
- Install the package with Composer using composer require novius/laravel-nova-redirect-manager. Then register the Nova tool and follow the README setup steps. Because it wraps spatie/laravel-missing-page-redirector, make sure that package and its redirect storage are configured and migrated as well.
- Does this package require Laravel Nova?
- Yes. The package is a Nova tool, so it is designed for Laravel applications that already use Laravel Nova. You will need a working Nova installation before adding the redirect manager UI.
- Which Laravel and Nova versions are supported?
- Compatibility depends on the package's Composer constraints and the version of Laravel Nova you run. Check the repository's composer.json and README for the current supported Laravel and Nova versions. Pin versions in production and review release notes before upgrading.
- How does it integrate with spatie/laravel-missing-page-redirector?
- The Nova tool manages redirect records that are used by spatie/laravel-missing-page-redirector. The Spatie package handles missing-page redirect behavior, while this package gives you a Nova interface for maintaining those redirects. You should configure and migrate the Spatie package according to its documentation.
- Can I create 301 and 302 redirects from Laravel Nova?
- Yes. The admin UI is intended for creating, editing, and tracking redirects, including permanent and temporary redirects such as 301 and 302. Developers can manage changed URLs without deploying code changes for each redirect.
- Do I need to write code to manage redirects after installation?
- No, the main workflow is through the Nova tool. After setup, editors or administrators can create and update redirects in the Nova UI. You still need normal Laravel configuration and database access for deployment and maintenance.
- How can I test redirects created with this package?
- Create a redirect in Nova, then request the old URL in your test environment and assert the response status and Location header. In Laravel feature tests, you can use HTTP assertions against the source path. Also verify that the redirect record exists in the database and that middleware is active.
- Is this package suitable for production and SEO-sensitive migrations?
- It is lightweight and middleware-driven, making it a reasonable fit for production redirect management when configured correctly. For SEO-sensitive migrations, plan redirects carefully, monitor status codes, and back up redirect data. Always test redirect chains and avoid loops before deploying.
- What alternatives exist to novius/laravel-nova-redirect-manager?
- You can manage redirects directly with spatie/laravel-missing-page-redirector, use other Nova redirect tools, or define redirects at the web server level. This package is best when you specifically want a Nova admin UI backed by the Spatie redirector. Review maintenance activity and compatibility before choosing an alternative.