Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2023-01-30 12:02:29

franzl
Member
From: germany
Registered: 2019-08-11
Posts: 33

Re: deactivate something...

phiw13 wrote #334589:

BTW, would this be more appropriate when feeds are disabled: HTTP 501 of 405 (MDN)?

It would be more flexible, if it just gives an 404 errorcode.
If you change your opinion to activate rss/atom than just activate it and use it.
5xx errorcodes are server errors. Thats not a good way for SEO.

Offline

#26 2023-01-31 07:55:44

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,090
Website

Re: deactivate something...

Uh? Nothing stands in the way of changing your mind if you use those error codes. And I think those are actually more SEO friendly. A 404 is never good, as far as I understand it. Missing… that could mean “we can’t be bothered to fix this” – especially if you leave it in that (missing) state for a longer period.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#27 2023-01-31 13:43:10

franzl
Member
From: germany
Registered: 2019-08-11
Posts: 33

Re: deactivate something...

Sorry, but that is not true. An 404 errorcode give the searchengins a sign that this site is not active and not visitable.

An 5xx error is an server error. That show the search engine: maybe come back later, when we have fixed it.
Thats a wrong sign. Dont forget your crawl-volumen. Give the right sign and give searcengines bots a guide.

Last edited by franzl (2023-01-31 13:44:49)

Offline

#28 2023-02-01 00:02:22

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,090
Website

Re: deactivate something...

from MDN, 404 Not Found

The HTTP 404 Not Found response status code indicates that the server cannot find the requested resource. Links that lead to a 404 page are often called broken or dead links and can be subject to link rot.

I don’t see anything in that saying “not active”. And I have seen enough times the Google Search Console complaining that this or that page is 404 missing


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#29 2023-02-01 11:50:48

franzl
Member
From: germany
Registered: 2019-08-11
Posts: 33

Re: deactivate something...

If a site is gone, you can give an 403 errorcode. That´s a different.

If you deactivate a site you have to delete all links to that site. That should be clear. If you still have links zu a missing site, don´t wonder about it. Its up to you to delete all links to a deactivated site.

I do SEO for almost 20 years. If you think that you have to give search engines an another errorcode i.e a 5xx, so do it. It´s your decision on your own website. cheers :)

Last edited by franzl (2023-02-01 11:52:22)

Offline

#30 2023-02-01 13:28:26

etc
Developer
Registered: 2010-11-11
Posts: 5,064
Website GitHub

Re: deactivate something...

I don’t know what is the right status to return here, but, to avoid creating dead links, in txp 4.9 <txp:if_section /> tag adopts filter attribute:

<txp:if_section filter="in_rss">
    <txp:feed_link />
<txp:else />
    RSS feed is not available. 
</txp:if_section>

Offline

#31 2023-02-02 03:06:31

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,090
Website

Re: deactivate something...

etc wrote #334602:

I don’t know what is the right status to return here, but, to avoid creating dead links, in txp 4.9 <txp:if_section /> tag adopts filter attribute:

aha, that is what you added the other day. Thanks for visualising it here ! I haven’t had time so far to look at those, yet.

@ franzl

I don‘t think i follow your reasoning. But we’ll have to agree to disagree.

(I don’t remember ever having not wanting the syndication (atom/RSS) asa feature for a site or part of it)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#32 2023-02-02 10:56:34

franzl
Member
From: germany
Registered: 2019-08-11
Posts: 33

Re: deactivate something...

@phiw13: You will find your way :)

Offline

#33 2023-02-02 14:42:05

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,145
GitHub

Re: deactivate something...

phiw13 wrote #334606:

(I don’t remember ever having not wanting the syndication (atom/RSS) asa feature for a site or part of it)

To be very pedantic, there’s a reference to Textpattern in the generator tag, which might not be appropriate to advertise.

Offline

#34 2023-02-07 09:01:52

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,090
Website

Re: deactivate something...

etc wrote #334587:

You have, however, set in_rss to No for all sections, right? Then it’s weird and not reproducible on my side.

Interesting maybe. Since your most recent related commit, now I get a 404 response when disabling feeds (either uncheck all the “syndicate…” column entries or set the number of articles pref to 0. I have no idea what kind of magic is at work here, or where.

<small voice> Could I possibly blame the recent PHP update (to 8.2.2)?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB