My Oracle Support Banner

Sites Redirect To Incorrect Location (Doc ID 2781914.1)

Last updated on APRIL 03, 2023

Applies to:

Content and Experience Cloud - Version 21.2.2 and later
Information in this document applies to any platform.

Symptoms

The uploaded and published version of redirects.json is the following:
{
  "redirectRules": [
  {
  "type": "string",
  "comment": "Home page test",
  "expression": "/testpage1.html",
  "location": "/testpage2.html",
  "code": 302
  }
  ]
}

When we visit https://<mysite>.ocecdn.oraclecloud.com/site/aepsecure/testpage1.html we would expect to be redirected to https://<mysite>.ocecdn.oraclecloud.com/site/aepsecure/testpage2.html, But instead we are redirected to https://<mysite>.ocecdn.oraclecloud.com/testpage2.html Notice the missing site/aepsecure/ path

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.