Welcome Guest! To enable all features please
Login or Register.
I saw that some problems with the robots meta-tag had been fixed in the v2.24.20 (see
this ). I downloaded the new version install using the
official link but could not launch it. I always got a server error. After analyzing the source code and playing with it a little bit, I came to a conclusion that the problem is in the root default.aspx.file. See, the new version does not contain the following tag definitions:
<%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>
<%@ Register TagPrefix="url" Namespace="Intelligencia.UrlRewriter" Assembly="Intelligencia.UrlRewriter" %>
However, you try to use them in the body of the page:
<YAF:Form id="form1" runat="server" enctype="multipart/form-data">
<YAF:Forum runat="server" ID="forum" BoardID="1">
</YAF:Forum>
</YAF:Form>
Do I understand something wrong? And I see no mentions of the robot meta-tag...
Yes you are right re-adding them should solve the problem
Do I understand something wrong? And I see no mentions of the robot meta-tag...
Mentions where? the tags are generated dynamically in the code!
Edited by user
2019-11-04T16:13:49Z
|
Reason: Not specified
Yes you are right re-adding them should solve the problem
I guess, we need only the YAF tag prefix? I can't find any usage of the 'url' tag prefix in default.aspx now.
And this MUST BE done in the official download package too.
Mentions where? the tags are generated dynamically in the code!
What kinds of pages are we talking about? Perhaps, we are talking about different kinds of pages. Here are the page url templates I originally blocked in my robots.txt:
Disallow: /forum/posts/t*findunread
Disallow: /forum/posts/t*findlastpost
Disallow: /forum/posts/m
Disallow: /forum/profile/
Disallow: /forum/mytopics
Disallow: /forum/search
Disallow: /forum/help_index
Disallow: /forum/login
Disallow: /forum/rules
I upgraded to v2.24.20 (I did replace the DLLs in the bin subfolder), but some of the pages I am interested in still do not have the 'noindex' setting, for example the '/forum/posts/t*findunread' pages. It seems, only the '/forum/posts/m' pages were really fixed.
P.S. Perhaps, we need to put the discussion of the 'noindex' setting into a separate topic dedicated solely to this question.
Edited by user
2019-11-05T08:08:29Z
|
Reason: Not specified
Yes you are right re-adding them should solve the problem
I guess, we need only the YAF tag prefix? I can't find any usage of the 'url' tag prefix in default.aspx now.
And this MUST BE done in the official download package too.
I updated the download packages. there was the wrong default.aspx inside.
Edited by user
2019-11-05T14:40:30Z
|
Reason: Not specified
I upgraded to v2.24.20 (I did replace the DLLs in the bin subfolder), but some of the pages I am interested in still do not have the 'noindex' setting, for example the '/forum/posts/t*findunread' pages. It seems, only the '/forum/posts/m' pages were really fixed.
Well you didn't say that before, i implemented the changes as requested! I can change that in 2.3.00
Forum Jump
- You cannot post new topics in this forum.
- You cannot reply to topics in this forum.
- You cannot delete your posts in this forum.
- You cannot edit your posts in this forum.
- You cannot create polls in this forum.
- You cannot vote in polls in this forum.
Important Information:
The YAF.NET Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close