PDA

View Full Version : Great Joomla Themes



duaneh
03-26-2011, 05:07 PM
Greetings from South Africa. Thanks for a really great template, definately be signing up for your Joomla developers club at the end of the month;

One question. The site that I'm using your single lisence template on has generated PDF files that aren't on the domain, which is not wanted. Is this being caused by something in the template, if so - anyone let me know what it could be:

http://www.google.co.za/search?hl=en&newwindow=1&biw=1307&bih=537&q=site%3Aunionsouthcoast.co.za&btnG=Search&aq=f&aqi=&aql=&oq=

These PDF files aren't on the domain, but they open up and show parts of the articles, the site is offline but these can be viewed,

Nice to get some input on this;

Cheers,
Duane.

david
03-27-2011, 05:58 AM
Dear Duane,

Thank you so much for using our services.

There are 2 possible solutions:

1) have all the pdf files in one folder. add a robots.txt file to that folder informing all search engines not to index any content in that folder or folders beneath it.

Block or remove pages using a robots.txt file (http://www.google.com/support/webmasters/bin/answer.py?answer=40360)
SEO with Robots.txt (http://www.askapache.com/seo/seo-with-robotstxt.html)


2) since you wish to control access to those PDF files, password protect the folder in which they are located. Google for "password protect folder"

Hope this will be helpful.

Kind regards,
ZooTemplate

duaneh
03-27-2011, 06:29 AM
Thanks David, I accidently removed my post trying to reply. It's a mod_rewrite issue:

RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]

After eliminating all other possibilities I thought I'd take a look at the htaccess file, I thought it might be useful to share this, removing the .pdf from the htaccess file resolved this issue;

Duane.