I have created 2 pages (Page1 and Page2). Created a link in Page1 and authored, so that, when I click on link, Page2 need to open. Published both the pages on to dispatcher and logged in as anonymous user (no permission issue) and clicked on the link. But "Page not found" message is displayed rather than Page2.
Can anyone let me know the reasons for this failure.
How are you linking Page 2 from Page 1? Can you able to open page 2 directly?
Though you have written that you have published both of the pages, but can you confirm in the publish instance if page 2 is present?
Any error in error.log?
Can you check if your direct hit pages with same url as link? are they working.
You may need to check
1. what happened if you direct hit pages
2. check your dispatcher setting for allowed those pages
3. any sling:mapping if you did.