Restrict page.json to 404 page on aem 6.4 dispatcher
Hi Team,
I am setting up the dispatcher configuration for my site.
I need to restrict page.json to redirect to my site 404 page .
Can anyone help me on this .
Thanks.
Hi Team,
I am setting up the dispatcher configuration for my site.
I need to restrict page.json to redirect to my site 404 page .
Can anyone help me on this .
Thanks.
If you want to disable the .json extension for all pages, I would recommend to reconfigure the Default Get Servlet and disable the JSON extension alltogether; that's the most reliable and easy to solve this problem. Do this only on publish, author instance requires that this is turned on.
Jörg
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.