Search engine indexes CQ4 Media Library pages

Issue

Google or another search engine indexes the media library pages on the publish instance.

Solution

Modify the medialib.esp file to return a 403 on response to the media library when the user "nobody" makes the request. The user "nobody" is the default anonymous user that the publish instance uses internally.

Patch /libs/CFC/templates/medialib/medialib.esp in your publish instance as follows:
Wrap the contents of medialib.esp with the following code.

<%

if( actuser.handle == "/access/users/superuser/system/nobody" ) { response.status = 403;

} else {

%> [contents of medialib.esp]

<%

}

%>

 Adobe

Dapatkan bantuan lebih cepat dan lebih mudah

Pengguna baru?

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online