• fastfasterfastest

    (@fastfasterfastest)


    (Site is using Virtue 3.0.5 with a child theme.)

    The site has one “Portfolio Type” (say “Sail Race” with slug “sail-race”) and four “Portfolio Items” of that portfolio type (say “Fastnet Race” with slug “fastnet-race”, “Volvo Ocean Race” with slug “volvo-ocean-race”, etc.)

    The site has a “Page” (say “Sail Races” with permalink https://mysite.com/sail-races) that is configured to use page template “Portfolio Grid”, to display “Portfolio Work Types” of type “Sail Race”, etc. and this “portfolio page”, https://mysite.com/sail-races, displays links to the various portfolio items.

    That all “works”. However, the “portfolio page”, https://mysite.com/sail-races, contains a rss feed link with a non-existent url:
    <link rel=”alternate” type=”application/rss+xml” title=”My Site Sail Races Comments Feed” href=”https://mysite.com/sail-races/feed/&#8221; />

    Accessing that url, https://mysite.com/sail-races/feed/, results in a 404. The other two rss feed links on the page are handled by WordPress and/or Virtue.

    How do I resolve this so there is no 404?
    Is this something that should work out-of-the-box?
    Is it something in my overall site configuration or portfolio configuration that is missing/incorrect?
    Is Virtue or my child theme missing something?

Viewing 6 replies - 1 through 6 (of 6 total)
  • hannah

    (@hannahritner)

    Hi @fastfasterfastest,
    Are you able to post a link to your site?

    Hannah

    Thread Starter fastfasterfastest

    (@fastfasterfastest)

    Preferably not… unless I can send it privately to you.

    I noticed on your demo site, https://themes.kadencethemes.com/virtue, you have a similar situation but the issue seems not to occur. There is (at least) one difference between your site and mine, though.

    On your site, you seem to have a portfolio type called “project”. And a page that displays all the projects uses the page template “Portfolio Grid” at https://themes.kadencethemes.com/virtue/projects/. This page contains a feed link https://themes.kadencethemes.com/virtue/projects/feed/ which “works”.
    Individual portfolio items are located at https://themes.kadencethemes.com/virtue/portfolio/%5Bslug%5D/.

    The difference I notice is that my individual portfolio items have urls using format …/sail-races/[slug]/, NOT …/portfolio/[slug] like you do.
    I don’t know if that makes a/the difference, but perhaps in my case something gets confused by the url …/sail-races/feed/ and tries to find a sail race named “feed”, and since there is none 401 is returned?

    (I also noticed, though, on your site one CAN access the individual portfolio items using a url similar to mine, e.g. https://themes.kadencethemes.com/virtue/projects/work-space/ – you redirect to …/portfolio/work-space. I don’t know who/where that detection and redirect is done.)

    Thread Starter fastfasterfastest

    (@fastfasterfastest)

    I also notice that I can avoid the issue if I disable “Allow comments” on the “portfolio page”, https://mysite.com/sail-races.

    hannah

    (@hannahritner)

    Have you tried re-saving your permalinks? Try doing that. Go to Settings > Permalinks and save changes. Let me know if that effects anything.

    Hannah

    Thread Starter fastfasterfastest

    (@fastfasterfastest)

    I re-saved permalinks and there is no change when accessing the “portfolio page” https://mysite.com/sail-races – it still contains a <link rel=”alternate” type=”application/rss+xml” title=”My Site Sail Races Comments Feed” href=”https://mysite.com/sail-races/feed/” /> and accessing https://mysite.com/sail-races/feed/ still returns a 401.

    Note – when I re-saved permalinks there was a message “Permalink structure updated. Remove write access on web.config file now!” I think that message is benign because the site is hosted on IIS and uses url rewrite rules in web.config per https://codex.www.ads-software.com/Using_Permalinks#Permalinks_without_mod_rewrite.

    Thread Starter fastfasterfastest

    (@fastfasterfastest)

    I think I will just leave the page configured to disallow comments (since no comments are solicited on the page anyway) – that seems to not emit the feed link in question.

    Initially, I thought perhaps that the implementation of the page template “Portfolio Grid” should do some additional stuff, hooking something that emits the feed link and /or the feed link url. But perhaps it has something to do with the way my site has configured the portfolio type slug and the url of the “portfolio page” that uses the “Portfolio Grid” page template.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘portfolio page rss feed link url 404’ is closed to new replies.