• Resolved pixel007

    (@pixel007)


    Good morning, congratulations for the plugin and for everything you do.
    After reading that you do not accept money, but prefer any donations, I am really impressed.
    I am writing because I have a problem that I can not solve on various sites.
    All the URLs (archive pages?) “example.com/attachment_tag/something/” and “example.com/attachment_category/something/” show valid pages (HTTP 200 OK), but without the contents (i.e. the images) that belong to those “tags/categories”.
    Inside the page there is the text “We could not find what you are looking for, perhaps a search could help.” and a search form.
    Question:
    How can I make the contents (in my case the images) that belong to those “tags/categories appear?
    (The ideal would be a gallery, but anything is better than nothing.)
    Unfortunately I also found other posts with similar questions, but I was unable to solve them.
    Thank you very much and have a good day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pixel007

    (@pixel007)

    Sorry, the HTTP response is 204 “No content”, so the page is empty.
    (Screenshot attached.)

    Plugin Author David Lingren

    (@dglingren)

    Thanks for the positive MLA feedback and for your question. Archive pages for Media Library items have been a persistent problem for quite a while. Here is a post in an earlier topic (ten years ago) that gives the “tip of the iceberg” summary of the problem:

    mla gallery – with latest image from four categories?

    In brief, I know of three general approaches to a solution: 1) you can modify the PHP code in your theme’s archive page emplates to use the [mla_gallery] shortcode or some other method to display a filtered gallery, 2) you can use a plugin such as Redirection reformat the URL and redirect the archive page URL to a page or post that displays a filtered gallery, or 3) you can use the WordPress rewrite API to reformat the URL and redirect the archive page URL to a page or post that displays a filtered gallery, .

    Here is a post in an earlier topic that gives an example of modifying theme templates (PHP code):

    Att Categories menu returns 404 error

    Here is an earlier topic that uses the Redirection plugin to solve a similar problem. The general approach can be adapted to your archive page application:

    Cleaning up URL queries in paginated gallery pages

    Here is a earlier topic that uses the WordPress rewrite API along the lines of the Redirection plugin solution:

    Rewriting tag URLs

    I know it’s tedious, but have a look at the earlier topics and let me know which of the three methods would best suit your application. I can give you more specific guidance once I know how to proceed. Thanks for your interest in MLA.

    Plugin Author David Lingren

    (@dglingren)

    It has been five weeks since my last post in this topic. I hope you have found an archive page solution for your application.

    I am marking this topic resolved, but please update it if you have problems or further questions regarding the above material.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.