Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8417467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:03:30+00:00 2026-06-10T02:03:30+00:00

On an existing .Net MVC3 site, we implemented paging where the URL looks something

  • 0

On an existing .Net MVC3 site, we implemented paging where the URL looks something like www.mysite.com/someterm/anotherterm/_p/89/10, where 89 is the page number and 10 is the number of results per page.

Unfortunately the rel="nofollow" was missing from page number links greater than 3, and those pages were also missing <meta name="robots" content="noindex,nofollow" />.

The problem is that Google and a few other search engines have now indexed those pages, and now attempting to crawl all of them, quite frequently, which as we found started having a drastic impact on the prod db server. We don’t want all those additional thousands of pages crawled, only the first few.

I reverted the code back to a version of the site that does not include paging so that our DB server won’t be hit so hard now. So while the search engines will get 404 errors for all those pages, I want to know if this is the best thing to do, since after a while I will introduce the paging site again?

I could add the following to the web.config to have all 404’s redirected to the home page:

 <httpErrors errorMode="Custom">
     <remove statusCode="404"/>
     <error statusCode="404" path="/" responseMode="ExecuteURL"/>
  </httpErrors>

But I’m thinking that doing this will be rendered as “duplicate content” for all of those pages with pagination URL parameters.

Is the best idea here to just let those 404’s continue for a week or two – then re-introduce the paging site?

Another option may be to release the paging site with some code added in to reject crawlers on pages greater than 3. Suggestions?

Is there a quicker way of getting those pages out of the indices so they won’t be crawled?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:03:32+00:00Added an answer on June 10, 2026 at 2:03 am

    Simply leaving the pages as 404 wouldn’t do, as this is a permanent removal. Looking at the RFC 2616 Hypertext Transfer Protocol – HTTP/1.1 chapter 10. Status Code Definitions:

    “The requested resource is no longer available at the server and no
    forwarding address is known. This condition is expected to be
    considered permanent. Clients with link editing capabilities SHOULD
    delete references to the Request-URI after user approval. If the
    server does not know, or has no facility to determine, whether or not
    the condition is permanent, the status code 404 (Not Found) SHOULD be
    used instead. This response is cacheable unless indicated otherwise.

    The 410 response is primarily intended to assist the task of web
    maintenance by notifying the recipient that the resource is
    intentionally unavailable and that the server owners desire that
    remote links to that resource be removed. Such an event is common for
    limited-time, promotional services and for resources belonging to
    individuals no longer working at the server’s site. It is not
    necessary to mark all permanently unavailable resources as “gone” or
    to keep the mark for any length of time — that is left to the
    discretion of the server owner.”

    I simply added a new ActuionResult method:

        public ActionResult Http410()
        {
            return new HttpStatusCodeResult(410);
        }
    

    and created new routes for matching “__p”:

    routes.MapRoute(name: "WholeCountryResultsWithPaging__p", url: "{searchTerm}/__p/{pageNumber}/{pageSize}", defaults: new { controller = "Errors", action = "Http410", pageNumber = UrlParameter.Optional, pageSize = UrlParameter.Optional });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is possible to integrate orchard to existing Asp.Net MVC3 site like separate area? Like
I would like create a MVC3 website. I have existing dlls packaged as .net
I have an existing web application that was created using ASP.NET C#, MVC3 with
I'm considering porting an existing ASP.NET MVC3 application onto Nancy. The application currently makes
I am using ASP.NET MVC3 with Razor and would like to define a route
I have an existing SqlConnection conn; in some controller (using ASP.NET MVC3 + Razor
I have a site set up in ASP.NET MVC3 right now, but the layout
I've integrated ASP.NET MVC 3 project into existing Web Forms project. It was working
I am extending the existing .NET framework class by deriving it. How do I
I want to make existing .NET applications (WinForms and WebForms) run on 64-bit machines,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.