<![CDATA[ Clicking Tags Returns 404 Error - My Forums]]> https://forums.modx.com/thread/?thread=88038 <![CDATA[Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=3#dis-post-484657
http://www.examplesite.com/blog/tags/featured


Unfortunately, visiting this URL returns a 404 error. However, using this style of link (manually entered) filters the list of articles as expected:

http://www.examplesite.com/blog/?tag=featured


I do have Friendly URLS enabled and functioning, along with Friendly Alias Path and a container suffix of "/". MODX is installed on a Windows NT Server with PHP 5.2.17. Any thoughts?]]>
designcouch Dec 04, 2013, 06:31 PM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=3#dis-post-484657
<![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=3#dis-post-553801 ]]> BobRay Sep 10, 2017, 04:59 AM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=3#dis-post-553801 <![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=3#dis-post-553798
I've finally came up with:
[[!tagLister? &tv=`articlestags` &useTagsFurl=`1` &target=`7` &tagKey=`articlestags`]]


At least this makes the tag cloud work alongside the rest of site with fURLs on smiley
The &useTagsFurl=`1` param suddenly stopped working though.. but I'm glad I can turn on fURL's now!

Thanks again Bob,

Cheers,
John]]>
johnsim Sep 09, 2017, 08:56 PM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=3#dis-post-553798
<![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=3#dis-post-553776 https://bobsguides.com/blog.htmltags/plugin.

In my Articles Template, I just have this (and the same thing in my articles container template:

[[*articlestags:notempty=`
                        <span class="tags left"> | Tags: [[+article_tags]]</span>
                        `]]


I can't find any TV, Tpl chunk, or input that would affect the URL.

Have you tried refreshing the site's URIs (Manage > Clear Cache > Refresh URIs)]]>
BobRay Sep 08, 2017, 10:03 PM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=3#dis-post-553776
<![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553764 Quote from: BobRay at Sep 07, 2017, 08:42 PM
I haven't used nginx, but if you have friendly URLs on regular links in the site, it's probably not the issue.
..

Indeed Bob, Friendly URL's are working with the rest of the site.

What friendy URL result does MODX expect from an article tag? Is there anyone who has article tags working with useTagsFurl on?

Without useTagsFurl on, I get
/?tag=ux&key=articlestags

With useTagsFurl on I get
/articlestags/ux

This returns a 404.]]>
johnsim Sep 08, 2017, 09:27 AM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553764
<![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553751
https://docs.modx.com/revolution/2.x/getting-started/installation/basic-installation/nginx-server-config

https://forums.modx.com/index.php?action=thread&thread=50615&i=1]]>
BobRay Sep 07, 2017, 08:42 PM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553751
<![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553744
I have checked it once more, but they do have the exlamation point.

Made some changes to the following:
added the tagKey parameter with the value of 'articletags'.
[[!tolinks? &items=`[[+tv.articlestags]]` &target=`[[*id]]` &tagKey=`articlestags` &useTagsFurl=`0` &outputDelim=``]]


Now I have the blog up & running without friendly URLS smiley
result:
/index.php?id=7&tag=ux&key=articlestags


Still, don't have it working with friendly URLS. That would be sweet!

Could it be a bad NGINX config file?

Here's a section of my nginx config file for the domain in question.
Am I missing something?
        location ~ \.php$ {
            try_files $uri =404;
            fastcgi_pass unix:/var/run/php-fpm/mydomain.socket;
        }        
        
        location / {
             index index.php index.html index.htm;
             # try_files $uri $uri/ /index.php?$args;
             try_files $uri $uri/ @rewrite;
        }
        
        location @rewrite {
            rewrite ^/(.*)$ /index.php?q=$1;
        }
        
        #Leverage browser caching
        location ~*  \.(jpg|jpeg|png|gif|ico|svg|css|js)$ {
            expires 365d;
        }
]]>
johnsim Sep 07, 2017, 06:58 PM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553744
<![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553704
<base href=[[!++site_url]] />
]]>
BobRay Sep 06, 2017, 09:03 PM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553704
<![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553697
Sorry, had to reopen this issue. 3 years later and I have the same problem. Tried everything in this thread with no solution.

Troubleshoot info:
- Running Revolution 2.5.7-pl (clean install);
- NGINX server / Centos7;
- Installed https://modx.com/extras/package/articles;

Does not work:
https://domain.com/tags/ux


Works:
https://domain.com/?tag=ux


Is there a solution to this problem?

Cheers,
John
]]>
johnsim Sep 06, 2017, 08:18 PM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-553697
<![CDATA[Re: Clicking Tags Returns 404 Error]]> https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-495250 You can try my old solution:
http://forums.modx.com/thread/78268/remove-articles-url-container-alias-in-modx-revo?page=2#dis-post-447948]]>
khyrlik Apr 17, 2014, 01:45 AM https://forums.modx.com/thread/88038/clicking-tags-returns-404-error?page=2#dis-post-495250