PDF button opening HTML page in popup when AceSEF has been enabled

P

How Can We Help?

PDF button opening HTML page in popup when AceSEF has been enabled

When I installed the AceSEF component, and enabled it all of a sudden the PDF linksdid not work anymore, it opens a new window but instead of displaying the PDF version it displays the HTML version of the page, when I disabled the AceSEF component it works again.

Luckily I managed to solve this problem. Please see the Answer

Open the AceSEF configuration page and click on the URLs tab.

Under the Global Variables section in the non-SEF variables section, add the following format=pdf, clear the cache refresh the page and the PDF link will work again.

non-SEF variables, format=pdf

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me