Handle Pages That Move To A New Url With Regards To Search Engines?
May 7, 2010
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?
View 2 Replies
Similar Messages:
Feb 10, 2010
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.
View 3 Replies
Feb 20, 2010
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.
View 7 Replies
Mar 25, 2010
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.
View 4 Replies
Nov 19, 2010
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.
View 8 Replies
Jan 7, 2011
How can I stop Search engines firing events.....
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.
View 10 Replies
Feb 17, 2011
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?
View 2 Replies
Dec 27, 2010
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).
View 3 Replies
May 7, 2010
I am making MSSQL stored procedure CLR calls from ASP pages. When an exception occurs, it is logged and then rethrown. In this scenario I need to be able to handle the exception (if possible) in the ASP page. Note that I cannot move away from classic ASP in this instance; I am stuck within a legacy system for this project. let me know if you know of a way to handle the exceptions in classic ASP.
View 1 Replies
Mar 28, 2011
I have an Application_Error handler in my Global.asax file. However, I load many pages using an XHR request and would rather these "sub pages" return javascript or a real 500 code for my main app to process, rather than an error page.
Is it possible to handle errors on certain pages in a different way? Can a master page handle its own errors in a page extending it without bubbling it up to Global.asax?
View 4 Replies
Nov 30, 2010
Trying to figure out how to handle data returned for a site search from a description field. I don't think I want to display all the text from the description field, but I also don't want to "chop" a word in half. How do I get the first 100 characters, plus a few extra letters if needed to prevent a word from being chopped in half. In some cases, the description field is less than 100 characters, so all the text will be displayed. However, if the description does need to be chopped at 100, I'd like to finish the word and add ... to indicate that there is more text.
View 6 Replies
Mar 24, 2011
I'm looking for a good search component to plug in to an ASP.NET MVC 2 website. I've seen a few non-mvc ones before. Our website is comprised of 99% static mvc pages so I need something that will index and search the entire site (and not use database fulltext search).
View 4 Replies
Mar 11, 2011
I've noticed that when i switch (browse) in between internal links in mywebsite "about", "services", "home", "contact", using Mozilla Firefox browser pages are moving slightly from one side to the other.(right to left and vice versa)
Tried the same in Explorer and it's fine. Any ideas why that is happening and how to fix it?
View 7 Replies
Mar 25, 2010
I have a search page (Search.aspx) with a search textbox. I would also like to add a search box to my homepage (Default.aspx) so that the viewer can immediately start searching.
I am aware I could do this by adding the search box to the Master template and using a ContentPlaceHolder, however I don't wish to do this for two reasons:
- The width of the Search.aspx textbox is quite wide - too wide for Default.aspx (the location I have for it)
- I am not yet convinced that I want this search box to be present on ALL my pages.
- I am considering using different AJAX Watermark Extender texts for the two search boxes.
How can I link the two textboxes with VB.NET? I want to be able to:
- Type a keyword into the Default.aspx search textbox, press the Return key (there is no Search button on
Default.aspx but there is in Search.aspx) and be taken straight to Search.aspx with the returned search results!
- Have the keywords transferred to the search textbox in Search.aspx so that they are sitting there waiting for me when Default.aspx takes me there.
View 7 Replies
Jan 28, 2011
[Code]....
i want to get data from database of field Name and Gender, and then display it in Label name and gender. when i click save it move to next record and display name and gender that next record.
View 3 Replies
Feb 22, 2010
I have a problem, i have a gridview populated with items and in the pager i have controls for previous and next and a dropdownlist that shows the total number of pages. I also have a search function to search for item.
if i for exemple search for *egg* i get a number of results and the ddl is populated with total number of pages for the searchterm. but if i click on the button for "next" the search result disapear and i get all the pages back (because of the postback) but how do i do to keep the state of the “search so that i can use the next and previous buttons and the ddl listing of pages, depending on the search?
View 5 Replies
Feb 23, 2014
How to perform the search function for whole website in asp.netĀ ....
View 1 Replies
Feb 12, 2010
I want to search my asp.net pages and user controls to see which master page and base class they use. I mention search because we are re-factoring a large project and we need to track progress on the code conversion. I know I can pull this information individually but I need a automated and repeatable procedure.
View 1 Replies
Mar 29, 2011
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.
View 3 Replies
Sep 9, 2010
We have an already existing project on IIS and we want to move to Apache (windows) with mod_aspdotnet. What things could not work? If we use 3rd party DLLs? Will office components work fine (export to Excel, Word, etc). If you have any experience on this type of migration, I'd like your inputs! Also, is there another alternative to mod_aspdotnet?
View 1 Replies
Jan 27, 2010
I want a word search i doing the search like this , but it is giving character wherever there is in the string,if i give two character like ok it is searching for a full string where ever Ok is there select * from table1 where textfield like '%word%' this query would match word but also wordabc how can i make it aware of delimitions
View 3 Replies
Oct 5, 2010
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:
[code]....
View 5 Replies
Apr 19, 2010
how to Add Search Control for Detailsview for search page... simple solution required.?
and is it possible to give field names to each page numbering?
View 3 Replies
Nov 26, 2010
how to do a search using a Full Text Search Catalog. I would also like to have the results on the page highlighted?
View 1 Replies
Jan 18, 2010
As a newbie coming from a Java background with tag libraries I wonder if there is a simple possibility to render areas depending on backend values.For example if I have search form I do not want to render the table for the search results as long as the user hasn't pressed the search button. Of course I can iterate over the model containing an empty list but this does not allow to suppress rendering the whole table.Using web forms I would just control the visibility of the affected tag(s) in the code behind file but how do I do this with ASP.NET MVC?Can I use a partital view for a case like this? But I think I would have the same problem. How can I determine if a partial view is rendered (e.g. the whole result table with header)?
View 7 Replies