Link works although page was moved to another location

I am a new to WordPress. Please help me with the following issue.

I created page A and set Parent to X, hence its permalink was displayed as “http://websitename/index.php/X/A/“.

In page B, I reference to page A by the attaching the link “http://websitename/index.php/X/A/” there

I then changed Parent of page A from X to Y. The permalink of A thus was updated as: “http://websitename/index.php/Y/A/

I visit page B again and click on link “http://websitename/index.php/X/A/“, it still works and brings me to link “http://websitename/index.php/Y/A/

I wonder how it could happen? I was expecting to see Page Not Found or something like that as link “http://websitename/index.php/X/A/” is no longer available.

There probably is something I don’t know about how the link in WordPress works.
Can somebody please help explain this to me? Thanks!

Read more here:: Link works although page was moved to another location

Leave a Reply

Your email address will not be published. Required fields are marked *