Whats the best recommended way yo hide my staging website from search engines, i Googled it and found some says that i should put a metatag, and some said that i should put a text file inside my website directory, i want to know the standard way.
my current website is in asp.net, while i believe that it must be a common way for any website whatever its programming language.
I seem to be having an issue with our meta-tags as they are not being picked up by search engines. It has nothing to do with the fact that I don't know how to create them, but I think it has to do with the way we need to set up our site with our hosting company. Our hosting company requires that we have a page called Default.asp with a script that forwards requests to default.aspx which is currently set up as follows:
[Code]....
The Default.aspx page uses a master page. Our meta-tag is currently setup to index the default.asp page, but not to index or follow any other pages on the site. I also have a robot.txt file that states not index or follow any of the pages within the web site. Do I have the meta-tags in the wrong place? Should they be in the Default.aspx page or on the master page instead? If so, how do I format my tags, as if I just copy and paste them, get all sorts of issues.
I have done some refactoring on a asp.net mvc application already deployed to a live web site. Among the refactoring was moving functionality to a new controller, causing some urls to change. Shortly after the various search engine robots start hammering the old urls.What is the right way to handle this in general?
Ignore it? In time the SEs should find out that they get nothing but 400 from the old urls.Block old urls with robots.txt?Continue to catch the old urls, then redirect to new ones? Users navigating the site would never get the redirection as the urls are updated through-out the new version of the site. I see it as garbage code - unless it could be handled by some fancy routing?Other?
I have recently adapted a project and I would like some help with the problem. I have a textbox on a webpage. When someone enters a string and submits the page, I want to search search engines such as Google, Yahoo, Bing, etc and display the results according to relevance from the various search engines.
I have currently looked into the httpwebrequest and related classes. Also, I am new to ASP.NET, 17, and want to do this as a school project.
Still new. What can I add to my site to get picked up by serch engines without paying for services? Right now if I do a search My site does not appear.
I have a button that adds a product to my shopping basket. it has a postbackurl="../shoppingbasket.aspx?productID=1" when the page is loaded I get the querystring (ProductID) and add it to my database. Well I have been watching the database and I can see that in 1 day the whole of my product range has been added to the shopping basket, not only that but every time it fires the event it creates a NEW basket thus messing up my shopping basket ID's.
So my question is, I want the search engines to index my product pages, BUT I do not want then to add to my basket ( i.e. firing the postbackurl ) I have tried may things like rel="nofollow" adding the URL to my robot.txt. I don't really want to use recaptha as I have do before and have many complaits about it.
I am using asp.net 2010, and I would like to know how can I go about completely hiding a particular page from search engines, similar to how Facebook's security settings are set (for example, if I search for my real name, my fb page will now show up in google).
How to completely disable ControlState in an ASP.NET website application to get rid of <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/ACBDEFGH...XYZ=" /> on every page?
Searching for a solution, I only found meaningless answers making no difference between ControlState and ViewState, or replies saying that "we cannot disable control state". The second assumption seems to be false, since StackOverflow pages do not have ViewState hidden field.
I am trying to write a simple search form for our site. Here is my delima... I am trying to figure out that if there is nothing to search for in one textbox then search in the next textbox. The problem is that I dont know how to format my search string: For Example:
Two websites that are being developed by me is online in my office network. Our IT department has updated Internet Explorer and the view my websites is completely disturbed. Now we have Internet Explorer 8.0.6001.18702 In most of my pages the setting is that from top to bottom, in top there is a panel holding dropdown, textboxes and just under this panel there is another panel with gridview. When the pages load the first panel with the search controls are ok.
When i supplied search parameters then gridview resulted overlaping the above panel and it scrolls behind the above panel. When there is one record populates to gridview the whole gridview would not be seen but the count label shows one record.
I am trying to implement a search solution for my website and was wondering whether there are other good search solutions I can use apart from adding a Google search box
I'm using this code to create a search bar that will search only on the website above. It works when I put it into a html file, but when I put it in the rightnav user control in the ASP.net application, it only refreshes the page.
Microsoft has a new website editing tool: WebMatrix. WebMatrix uses the new Web Pages engine in which Razor is the view engine; Razor is also the new view engine for MVC3. I am attempting to find out if it is possible to register and use a different view engine in Web Pages (like you can in MVC).Does anyone know if it is possible to add or replace the view engine in Web Pages? If so has anyone documented this? Examples?
I am in need of applying the skins and themes in asp.net to my asp.net mvc2 applicatoin too. however i need to figure out the best way to apply the theme and skins in the mvc framework.
kindly suggest me the folder structure and how to apply them to different views. even though the css can do all stylings, i would like to get an insight into using these.
How would I hide the pages that the user is surfing and just show him/her the domain name. E.G. www.google.com as opposed to www.google.com/index.aspx etc...
i am newer to asp.net and i am trying to make a search engine for my site like this one [URL]. i am able to get the SEO friendly URL like this with the keyword and redirected to the Search.aspx.
Now how can i get result like this, i need some assistance to start. i have used contain attribute in LINQ query and get results. but i want to split the search term and i don't know how and then want to search the each word using contain attribute and then want to get results like this guy. you can reffer me anything tutorial or any componenet which is made for asp.net c#.
i had a situation in which i want to implement a search within my website, to search information of my wbsite only and giving the list of pages which contain the information requested for seach.
I am a noob in ASP.NET and building a website currently... I want the site to have a search feature.. How can I add this to my site? Is there a good tutorial out there ?
I did lot of R & D to implement website internal search in asp.net.
I have found a good article in code project
[URL]
It has some limitations
Search with special characters is not working.
Pdf and word documents are not searching.
Not able to high light the searched text.
If I am implementing this in master page then child title is not displayed in result page. Requirement:
I need to implement search result should be like this [URL] In description the search text must be highlighted.
Note: I need to implement this with coding not any 3rd party tool (I know lots of 3rd party website which do free hosting but they will post there adds and logo). Moreover i dont want to use any database for this internal searching.
Iam working on internal Website search as user can search any thing in the website Now i dont have idea from where i can get start ?? how search will work .it should be whole database search or pages only???