# Canonical https/www
Options -Indexes
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(.*)$ [NC]
RewriteRule (.*) https://www.%1/$1 [R=301,L]
</IfModule>
RewriteRule ^aboutpg/([a-zA-Z0-9-]*)/?$ aboutpg.php?id=$1
# Prevent search engines from indexing PDFs
<IfModule mod_headers.c>
<FilesMatch "\.(pdf)$">
Header set X-Robots-Tag "noindex, nofollow"
</FilesMatch>
</IfModule>