WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
Hotlinking, SEO, sitemaps, descriptions and permalinks (2 posts)

  1. itaushanov
    Member
    Posted 8 months ago #

    First off- thanks for the wonderful plugin!

    I am having a few issues and hope for a help before I mess up something :)

    1) Using Yoast SEO plugin to generate sitemaps, it includes

    ***?dlm_download_category=mycategory and
    ***?dlm_download_tag=mytag

    in the sitemaps. Quite nice and useful, but the links lead to "Nothing Found" pages. Tried to switch WordPress permalinks setting back and forth to no avail. However, these links opened directly in browser do work:
    ****/downloads/download-tag/mytag
    ****/downloads/download-category/mycategory

    a) How do I get Yoast to put proper links in the sitemaps?
    b) Is it something to do with download monitor or Yoast SEO code, or I am doing something wrong?

    2) How do I get in the sitemaps or get indexed links to each file, e.g.
    ***/download/my-file-zip/

    3) For some reason links like these redirect to the downloads page:
    ***/downloads/download-info/my-file-zip/
    What could be the reason?

    4) Perhaps silly question- how to add description for each file?
    When adding a new download, even if I fill in either of the edit boxes, the text is not shown anywhere.

    5) For at least partial hotlinking protection, is there any issue if something like this is used in .htaccess before SuperCache and WP rules:

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mysite.ltd [NC]
    RewriteRule ^(download/.*) downloads/ [L,R=301]

    Or what else can be made to prevent hotlinking to files?

    Thanks in advance.

    http://wordpress.org/plugins/download-monitor/

  2. itaushanov
    Member
    Posted 8 months ago #

    After a some more trial and error:
    3)It seems pages like /downloads/download-info/my-file-zip/ are active only after installing the page addon AND having set a page with the [downloads] shortcode.
    4) Ditto
    5) It seems to be working for now and not causing other issues.

    Currently digging about 2) - how to add the downloads to the sitemap and get them indexed.
    Is there anyone in the same boat as me?

Reply

You must log in to post.

About this Plugin

About this Topic