Use of /etc/map on Publish Instance

Avatar

Avatar

patK-ze1xYs

Avatar

patK-ze1xYs

patK-ze1xYs

03-12-2015

[Thread Edited By Adobe]

/*Don’t forget to meet and greet your fellow peers virtually by telling them about yourself here

Go ahead and to it now: https://adobe.ly/3eDnB4v */

 

Actual Post:

I have a question related to best practices of /etc/mapping .

Following are two nodes under /etc/mapping for my Publisher

 

If I only add mapping  [1]  and access a page on publish instance,  I see all publisher urls on the page pointing to localhost:8087 (Dispatcher)  E.g. http://localhost:8087/equipment/swimming/abidjan-water.html

When I add the mapping [2] and access a page on Publish instance all URLs on the page are pointing to localhost:4503 E.g , http://localhost:4503/equipment/swimming/abidjan-water.html .

Is this a good practice to have etc/map  for publisher explicitly?

I am looking for a way so URLs on publisher would appear without any of the redirect rule.

desktop_exl_promo_600x100_weempoweryou.png

View Entire Topic

Avatar

Avatar

Nikhil-Kumar

MVP

Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
MVP

15-08-2020

Hi @karthikfordreal,

Try using etc/map in publish mode for internal redirects, it's explained in Internal Redirects