If you’ve moved your web.unc.edu or sites.unc.edu site over to a new URL and you need to redirect all of the pages, the best way to handle this is through the Redirection plugin. This will allow you to still access the dashboard of the old site when needed, but redirect all pages on the front-end to your new site.
First you’ll need to make sure the Redirection plugin is active on your site.
Next go to the Redirection settings under
Tools > Redirection and enter the following information in the new redirect form:
Check the box that says “Regular Expression.”
Be sure you substitute the domain of your new site for the sample domain demonstrated above, but make sure to keep the
$1 at the end.
Then simply click “Add Redirection.”
The benefit of setting up your redirect this way and using a regular expression as noted above is that you will maintain the path of the URL.
For example: Let’s say we set up the above redirect on web.unc.edu. Someone visiting this page (
http://web.unc.edu/support/redirecting-your-site/) would be redirected to
This redirect allows you to keep the same page structure, or handle individual redirects to new content as needed. It will also allow you to access the dashboard of the old site in the event that you need to retrieve content.