How do I get files to be indexed by Google.

Viewing 7 posts - 1 through 7 (of 7 total)
#131204

Fred Savage
Participant

Hi,
I have been trying out the free version of this plugin and I am generally impressed.

All of the downloads on my site will be free, so I am not concerned with hiding them. In fact what I am trying to do is to get Google to index the contents of the PDF files.

But Google can’t seem to see PDF files. Google indexes the web page which contains the download button, but it doesn’t find the actual PDF file available for download. Is there any way that I can expose the url of the file to Google?

Thank you

#131225

Nayeem Riddhi
Moderator

Hi,

you can follow the link below documentation,

Template Files

by default, you are using link-template-default.php for link template and page-template-default.php for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager, then paste it in page-templates for page template or link-templates for link template. And you have to replace [download_link] with <a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a> in related PHP file.

let me know, if those help you.

Thanks.

#131252

Fred Savage
Participant

Hi,

That worked perfectly for link-template-default.php.

The changes to page-template-default.php do not seem to work. The file has been copied to the theme’s download-manager/page-templates folder. Any idea?

Thank you.

#131253

Fred Savage
Participant

I found the solution. None of the files had a Page Template selected.

Once I selected Default Template as the Page Template for the file, then the page picked up my changes.

It looks like if you leave the Page Template as “Select Page Template” then it won’t use the theme’s page-template-default.php. You have to specifically select Default Template.

#131254

Nayeem Riddhi
Moderator

It should work, Please, give your temporary wp-admin login details in a private reply for checking the issue.

Thanks.

#135822

Paul Hsieh
Participant

Thank you very much for posting this answer, which is what I am looking for. I have one additional question. After the recommended change is made to the link template, does Download Manager still record the number of times the file has been downloaded (in History)?

Thanks.

#135824

Nayeem Riddhi
Moderator

Yes. Same behaviour you shall find.

Thanks.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘How do I get files to be indexed by Google.’ is closed to new replies.