Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

301 redirect using redirect offers

jamesa290285
Level 1
Level 1

Hi,

Is it possible to perform a 301 redirect using Target? Example taken from Chrome that appears to be a redirect being performed by Target:

Request URL:

https://www.stuff.com/aaa/test.html?adobe_mc_sdid=SDID%3H42J07DPD00BA6912-5AB50E33E6E3E6H6%7CMCORGID...

Request Method: GET

Status Code: 301 /aaa/somewhere-else.html

I ask because we are unable to see a server side redirect taking place, but is the browser somehow interpreting this as a 301 redirect?

1 Accepted Solution
ryanr701
Correct answer by
Employee
Employee

Hi jamesa290285​,

That redirect appears to be from the stuff.com server, redirecting the www subdomain to just stuff.com. If you have client-side deployment of Target (at.js on your pages) there is no way to 301 redirect experiences of a test. Target is only called after the page has started loading.

If you have a server-side deployment of Target it should be possible to configure 301 redirects based on a response from Target. It would require some setup on your server to facilitate this though.

View solution in original post

1 Reply
ryanr701
Correct answer by
Employee
Employee

Hi jamesa290285​,

That redirect appears to be from the stuff.com server, redirecting the www subdomain to just stuff.com. If you have client-side deployment of Target (at.js on your pages) there is no way to 301 redirect experiences of a test. Target is only called after the page has started loading.

If you have a server-side deployment of Target it should be possible to configure 301 redirects based on a response from Target. It would require some setup on your server to facilitate this though.

View solution in original post