Are you running the most recent version of the plugin?
Do you get any errors with WP_DEBUG set to true ?
Yes, /pdf-preview/ throws
`Warning: file_get_contents(http://localhost/xxx/hallo-welt/?pdf-template): failed to open stream: Connection refused in /var/www/vhosts/xxx/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 243
Warning: file_get_contents(http://localhost/xxx/hallo-welt/?pdf-template): failed to open stream: Connection refused in /var/www/vhosts/xxx/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 247
Warning: file_get_contents(http://xxx/xxx/hallo-welt/?pdf-template): failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /var/www/vhosts/xxx/wp-content/plugins/wp-pdf-templates/wp-pdf-templates.php on line 254
Well there you go.
Your server is giving you a connection refused when trying to connect via localhost, and a 401 code when trying over a the real domain (clients.thedrama.de).
But why is there a connection to localhost?
Ist htaccess protection the reason that its not working? Shouldn’t a relative path work even with htaccess enabled?
Ask your host. Something is misconfigured on your server. I can’t help you with it without access to the server itself.
Ok. Thanks a lot. I remove the .htaccess restriction an now its working.