Fix Incorrect Link Direction After Replacing PDF Pages in Acrobat
Question details
Users experience links, form fields, and annotations appearing in the wrong position or rotated incorrectly after replacing pages in a PDF document.

- Product
- Adobe Acrobat DC
- Device & OS
- not provided
- Scenario
- Replacing pages in an existing PDF document while trying to retain original interactive elements like links and form fields.
- Observed behavior
- Annotations and links are pasted or repositioned in the wrong direction or location because the newly inserted page has a different underlying rotation property than the original page.
Before replacing PDF pages, verify that the replacement document was generated with the same base orientation and rotation settings as the original file.
Verify and Match Page Rotation Properties
Ensure the replacement pages have the same base orientation and rotation settings as the original pages before utilizing the replace function.
A PDF page might be created in landscape orientation but set with a 90-degree rotation to display as portrait. When replacing a page behind existing form fields and annotations, differing base orientations will cause the interactive components to misalign. Aligning these properties beforehand prevents link shifting.
Open both the original PDF and the document containing the replacement pages in your PDF editor.
Navigate to the document properties or page setup to identify the underlying orientation (Landscape vs. Portrait) and rotation degrees.
Adjust the rotation of the replacement pages so their base orientation perfectly matches the original PDF.
Proceed with the 'Replace Pages' tool to swap the pages while keeping annotations and links properly aligned.

Apply Custom JavaScript to Reposition Annotations
Since PDF editors generally cannot automatically correct shifted links after replacing pages with different rotations, a custom script is needed for bulk fixes.
Manage PDF Pages and Annotations Smoothly with WPS PDF
Avoid complex workarounds when managing documents. WPS PDF provides an intuitive interface for editing, extracting, and replacing PDF pages while making it incredibly simple to manually adjust links, text, and annotations directly.
- 1. Open Your PDF: Download and launch WPS Office, then click on 'PDF Edit' to open your misaligned document.
- 2. Manage Pages: Navigate to the 'Page' tab to easily access page management tools like Insert, Extract, or Replace.
- 3. Adjust Links and Annotations: Switch to the 'Edit' tab, select the interactive elements, and easily drag them to reposition any links or annotations that need realignment.
- 4. Save the Document: Click 'Save' to ensure your newly organized PDF document retains its corrected link positions.

Frequently Asked Questions
Why do my PDF links change direction when I replace a page?
This occurs because the new page has a different underlying rotation property (e.g., created in landscape but forced into 90-degree portrait display) than the original page. PDF editors apply the link coordinates based on the original base orientation, causing them to shift.
Does Acrobat automatically fix link positions during page replacement?
No, Adobe Acrobat does not have a built-in feature to automatically reposition or rotate annotations and form fields when the source and replacement pages have different rotation properties.
How can I check the true orientation of a PDF page?
You can check the document properties in your PDF editor. Keep in mind that the visual orientation you see on your screen might differ from the actual base orientation if a rotation parameter was applied during the PDF creation process.
Can I fix misaligned annotations without using JavaScript?
Yes, if you only have a few misaligned links or form fields, you can manually drag and reposition them using your PDF editor's selection tools. However, for a document with hundreds of links, manual adjustment is highly impractical.




