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

  • SEARCH
  • Home
  • 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 7947539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:27:38+00:00 2026-06-04T01:27:38+00:00

I can add any additional parameters to every ASP.NET MVC Method and MVC just

  • 0

I can add any additional parameters to every ASP.NET MVC Method and MVC just ignore this parameters. The problem is that Google mark such pages as duplicate content. For example:

public ActionResult Index()

if I add link this this page like http://example.com/?abc=123 it is a duplicate content for Google. Is there any way to avoid this with ASP.NET MVC and allow only existing parameters?

  • 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-04T01:27:40+00:00Added an answer on June 4, 2026 at 1:27 am

    Well you could use the Request object to cycle through the query string and throw an error if there is something there that you don’t want like so:

    foreach (string a in Request.QueryString.AllKeys)
    {
        // throw error if there is a key here we don't want
    }
    

    However, that this happens is really just a fact of the web and I don’t think you should worry about it. If you are concerned about it then just don’t create links to pages on your site with invalid parameters.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way I can add a static extension method to a class.
Is there any way I can add this to my plugin? $this->_helper->viewRenderer->setNoRender();
Does anyone have any recommendations for tools that you can add to Eclipse, Netbeans
Is there any event like OnValidate in LINQ where I can add my business
My question is somewhat weird, but can i add events for any DOM elements(div),
Can any client add his JavaScript on my website?
Debugging a PHP program, is there any add-on/plug-in for browser which I can view
My question is simple. Can I add either of the blow :prompt => Any
Can anyone recommend any good add-ons or plugins for Microsoft Visual Studio ? Freebies
can any one help me how to add dynamic tablelayout into static main.xml layout,

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.