Add Space Redirects to an Incorrect URL (Confluence 4.2.3 and above)
Symptoms
After changing the Confluence URL, or the Confluence context path, you are unable to add a space (it keeps redirecting to the old URL).
This affects only Add Space with this popup (Confluence 4.2.3 and above):
After clicking add, you will be redirected to the old URL, which does not exist, hence the space is not created.
Diagnosis
First of all, check if the Server Base URL set in Confluence Admin >> General Configuration
is correct (set to the URL you use to access Confluence). If it is correct, then proceed to the Resolution below.
Cause
The plugin responsible for that Add Space popup is caching the old Server Base URL.
Resolution
- Shutdown Confluence
- Remove the following folders from your Confluence Home Directory
bundled-plugins
plugins-osgi-cache
plugins-cache
plugins-temp
Startup Confluence again (the plugin cache will be rebuilt upon startup)