MetaTag from QueryString aspnet

steven c 1 Reputation point
2023-09-07T03:08:03.2866667+00:00

Just Wondering if the seo would be able to track the title or meta tags when the page is generated from passing in querystring,,, the thing is that the page has not been generated / redirected,,, when it needs from post action from previous page

<head runat="server">
    <title><%= categoryName %></title>
</head>
protected void Page_Load(object sender, EventArgs e)
    {
        categoryID = Request.QueryString["CategoryID"];

        

    }


.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,521 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,359 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 59,021 Reputation points
    2023-09-07T20:17:08.1833333+00:00

    web indexers parse the response html. you are setting the title in server code, so that will work. but in general crawlers only follow links (<a href=...>) and do not perform form posts. if the link contains a query string, it will be passed to the server. if your page requires a post to access, then it will not be indexed.

    also indexer generally limit how deep into your site they will go. so they index the home page, them all the links on the home page. they may stop at this point, or follow the links on the linked pages. the depth and how often indexed will depend on how popular your site is. see:

    https://www.seoclarity.net/blog/what-is-crawl-depth

    0 comments No comments

  2. steven c 1 Reputation point
    2023-09-08T01:35:24.6033333+00:00

    To Bruce (Sqlwork.com),

                 'web indexers parse the response html. you are setting the title in server code, so that will work...'
    
                 for the above statement,, the page <title> with server code has not been calling yet, due to it only be called from a post with a querystring,,,, do you think the seo crawler or indexer will detect this time?