Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[howto] redirect /textpattern to the correct admin URL (for multi-site setup)
Hi,
if you are using the new multi-site setup feature you may want to redirect the any /textpattern URL to the right place.
You may want to do this for:
- make old bookmarks still valid
- “fix” plugins that is pointing to /textpattern (there are a few out there)
So, for doing the redirection, you simple add a Redirect command before the rewriting rules on your site’s standard TXP .htaccess.
If you’ve set up TXP to serve the admin side on /admin, you add:
Redirect 301 /textpattern /admin
If you’ve set up TXP to keep the admin side admin subdomain (http://admin.subdomain.com), you add:
Redirect 301 /textpattern http://admin.domain.com
Something similar could be used
Offline