Create HTML pages from your PDF files

The problem. Google indexes PDF files from your server and you get nothing in return.

Browser view of a PDF.
There is no feedback
There is no Tracking
There is no analytics
There is no control

The solution. Convert your PDFs files into HTML pages

We add a script in the server folder
The script will convert all URLs where you have a PDF
To a HTML template where users will be able to:
Download the file
Send feedback
View other files

You can personalize the template using this file /convert/res/template.html


1. Open res/php/db_conf.php
2. Enter username, password and database name
3. Open table_maker.php to install database

Download the code to use "PDF to HTML"

You need to use this .htaccess

RewriteEngine On
Options +FollowSymLinks
RewriteBase /cesar/
RewriteCond %{HTTP_REFERER} ^$
RewriteRule (.*)(\.pdf)$ $1\.html [R=302]


Download the readme file.

Online Demo

View a demo of this service running

The code generates an index with all the PDF files in the folder.

Each PDF file becomes a HTML page.

The file is still downloadable without further development.

Each page will feature feedback, rating and related documents.

The thumbnail is generated with the code.