One other thing to look at is that if your HTML is really messy (broken/mismatched tags), then the HTML parser AEM uses while doing the link rewriting may fail. They way you could identify this is that if some of the links at the top of the page are rewritten, but at some point mid-way through the p...