How can I create a redirect - on page not found?

I have asked this before but things have changed since....
I am editing a site on a NON-LINUX server, one which can use VB code...
The problem is that there are a lot of obsolete pages and I want to remove them
I want to put a sitewide function in place so that if anyone types in an obsolete page through the whole site then it redirects to a single page with an apology and a link to the home page of the site...
Someone said it could be done on a linux server, but this is not one of those... so please could someone explain IF and HOW it could be achieved on another server...
Thank you
Terry

What you are asking for sounds like a 404 error page.  That's easy.  In the IIS manager navigate to the site you are managing and change the path of the 404 error page for that site to one you have created.  If you are on a shared host you should be able to edit the web.config file like:
<configuration>
  <system.web>
    <customErrors defaultRedirect=”http://mysite.com/errors/Error.aspx” mode=”RemoteOnly”>
       <error redirect=”http://mysite.com/errors/404.aspx” statusCode=”404″ />
    </customErrors>
  </system.web>
</configuration>

Similar Messages

  • APEX - Can't "Create" table.  Get "Page Not Found Error"

    I am trying to create a table with Oracle's APEX (at apex.oracle.com). When I run through the wizard and final process asks me to hit "create", the frame should state "table created", but instead it says Page Not Found. I have tried restarting the browser and also moved to another computer to see if it was a settings issue, but still receive this. I have emailed Oracle about it, but have not heard back, so thought I'd try here.
    Thanks for any help in Advance.

    My first name is Tyler
    I sent my question to [email protected]
    My email address is [email protected], I used this when contacting oracle, I also contacted with [email protected]
    I tried creating the table through the wizard with just two columns, 1 number column and 1 varchar2() field. I did not create a pk or any constraints, to see if I could just get a bare minimum table created. Unsuccessfully.
    I tried using the create DDL script in the SQL command window in APEX, this also was unsuccessfull. It seems to hang for a couple of minutes, I assumed it was just taking a bit to execute the DDL. But when it "unhangs", the status window below says it's still "executing sql statment", but it does not do anything after that, it stays there.
    I went and checked if by chance the table had been created, but it hadn't.
    Thanks,
    Tyler

  • How can I create a checklist in Pages (not Numbers) ?

    Hello all,
    Just curious if ANYONE out there has figured out how to implement a checkable checklist in Pages.  I am familiar with the Checklist template in Numbers, but it is not very pretty, for lack of a better word.  I need to create a stylish checklist in Pages that I can email out to employees, they can fill out, and send back.  Any suggestions?
    (I am also familiar with the check boxes in the Image Bullets section of Inspector, but it is too complicated for some of my less tech-savvy employees to go change the bullet for each line they need to check off - not to mention a hassle.  The intuitive thing would be for them to be able to simply click on the empty box, at which point a check would appear.  Please help.)
    Thank you!
    Jen

    The clean soluce is to build your own template matching your taste in Numbers.
    Yvan KOENIG (VALLAURIS, France) samedi 23 avril 2011 11:06:02

  • How can i print all the tab pages not just the first page (tab)

    how can i print all the tab pages not just the first page (tab)

    You would need to do this programmatically. Here's one way:
    Attachments:
    Example_VI_BD6.png ‏3 KB

  • How can I create more than 1 page?

    How can I create a document that is several pages. When I get to the bottom the text diappears.

    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or Alt+B to open the Bookmarks menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    * "Bookmark All Tabs" (Shift+Ctrl+D) no longer shows in the Bookmarks menu unless you open the Bookmarks menu via the keyboard (Alt + B).
    * "Bookmark This Page" can be accessed via the right-click context menu of that browser page.
    * "Bookmark All Tabs" can be accessed via the right-click context menu of a tab on the tab bar.
    See also:
    * [[How do I use bookmarks?]]
    * Bookmark All: https://addons.mozilla.org/firefox/addon/bookmark-all/

  • How can I create a object for a note?

    Hi experts,
        I need to apply the note 501905 but when I try in the SNOTE transacction I receive this error:
    Object REPS Z_MRM_DELETE_PP does not exist; create it
    Diagnosis
    The SAP Note that you want to implement contains changes to an object that does not yet exist in your system.
    SAP Notes contain only changes to objects that already exist. This means that the the system cannot automatically create new objects during the implementation of this SAP Note.
    Procedure
    1. Cancel the SAP Note implementationl.
    2. Create an empty object REPS Z_MRM_DELETE_PP with the corresponding object editor.
    3. Restart the SAP Note implementation.
    How can I create that Object??
    Thanks for the help!

    Hi Carlos,
    It says that you have to create a new program with a name Z_MRM_DELETE_PP.
    Once you create and activate the program you can execute the SAP Note.
    All this processure will be written in the SAP Note.
    Please Go through the Note using below:
    Step1: Use T.code SNOTE.
    Step2: Use menu GOTO --> NOTE BROWSER. Provide the Note no and EXECUTE.
    Step3: Double click on the displayed line.
    Here you will get the information to do before implementing the note.
    Go through all the documentation, and once you did all the development given in the note then you can implement the note.
    Regards,
    Sreekanth.

  • Not able to view blog entry on website...redirected to page not found.

    Please help, I'm beyond frustrated! I've recently established a blog on my website. I currently use godaddy as a hosting site. We updated the site and moved all of the files over, however, when you click on the blog page from the website and then click on read more to actually read the entry, you get redirected to a "page not found" screen. I'm so confused, because both godaddy and apple support are unable to pinpoint the problem. Please, please help! Thanks!!!
    If you want to take a look at the issue, the website is www.cakealicioussweets.com.

    You also choose to move your pages out of the folder with the sitneame : Cakealicous
    That will get you and your visitors in trouble.
    Here's a standard reply that may solve your predicament :
    To learn about the concept of Sites in iWeb and how to avoid the iWeb Sitename in the URL, read my blogs :
    [The concept of iWeb Sites|http://iweb.dailynews.webege.com/Howto_publish_to_a_subdomain_withiWeb.html]
    [Avoiding the iWeb Sitename in the URL|http://www.wyodor.net/blog/archives/2010/01/entry_299.html] (non MobileMe)
    [Publish to MobileMe without the Sitename in the URL|http://www.wyodor.net/blog/archives/2010/03/entry_309.html]
    For your convenience a beautifully illustrated pdf also explains it : [The concept of iWeb Sites|http://homepage.mac.com/wyodor/.Public/The concept of iWeb Sites.pdf]

  • How can I create links to other pages in iBooks that will function in PDF?

    Hi,
    I know some people have asked previously how to create links to other pages of their book within iBooks. I having an issue with this myself that I haven't been able to resolve. I am able to create the links, and they seem to function within the program, however, once I export the document as a PDF file (the format in which I need to have this ebook!), the links seem to be non-functional. Does anybody have a fix for this?
    Thank you so much for any suggestions you may have!! I really need to figure this out for my client.
    Regards,
    Meggyn

    Exporting as a PDF does alter/lose/remove certain functions. Adobe Acrobat has its own page navigation system.
    A lot of the hidden engine of iBooks Author is basically very similar to building a website! so links and books marks are an "internal" function.
    IF you  have Acrobat and not just the Adobe Reader, you can make links.  I have never needed to try, but  I see a working link related index  in the many software manuals  I have.

  • How can I create a message board page?

    Does anyone know how to create a message board page?
    Thanks.

    Forumotion definately. You can do so much with their forums from template editing, theme uploading, pure HTML page creating...they are the best i have been with.
    If you haven't got much time, and want to see what the new phpbb3 can offer, just try it out on this host : free forum hosting

  • How can I create and design a page UI from blank page in jdev10g?

    Hi.
    How can I implement a page from scratch page?
    I can create a master-detail page as the OBE site.
    But I'm not sure how to create page using component pallets, instead drag data-control model to page.
    It means I should design UI with component pallets,
    How can I do?
    Thanks.
    Edited by: user10615931 on 2009-8-18 上午4:13

    Thanks.
    It is helpful to me.
    What I want to do is use component pallets and add action to the component for creating a page instead using executeWithParam operation and drag view object from datacontrol to create page.
    How can I do?
    Thanks

  • How can you Create a folder in pages?

    I ve many documents all mixed together.. Can u create folders inside pages app...?
    Thanksss

    Indeed you can: http://help.apple.com/pages/ipad/2.2/#/tan724890f7

  • Redirecting when page NOT FOUND error occurs

    Does anyone now a way to redirect the client to a certain page whenever he encounters 404 NOT FOUND errors?
    I do not want to use a custom response page, I just want to redirect to a URL. The reason is our clients are WAP clients, and they do not see a page with text/html MIME type.
    Or any other solution might be a custom response page with a MIME type with vnd.wap.wml. Is it possible?

    Yes, it's possible. The simplest way is probably to add an Error directive such as the following to obj.conf:<Object name=default>
    Error code="404" fn="set-variable" set-srvhdrs="Location: /notfound.wml" error="302" stop="true"
    </Object>

  • How can I create a redirect to an URL like in SICF?

    Hi,
    we offer  the payroll (com.sap.pct.erp.ess.paycheck_service / sap.com/ess~rem/payslip2) in our portal which is a Java-WD. Whenever we import a modified version of the corresponding HRFORM into the P-system the application aborts with an error because the HRFORM has to be generated first after the import.
    I wanted to get rid of this problem by using the SICF where you can define a redirect to an URL (I wantet to switch to a "service is under construction"-WD). Unfortunately the SICF can only be used for WD4ABAP-services as I know - not for Java.
    Has anybody an idea how to solve my problem? I want to switch to a "service is under construction"-WD whenever there's an abort while processing the payroll application.
    We don't have any Java skill.
    Greetings,
    Steff

    You can place the html in component folder. src>mimes>Components. and can be accessed by code
    try {
    String url = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(),"<redirect>.html");
    } catch (WDURLException e) {
    wdComponentAPI.getMessageManager().reportException(e.getMessage(),true);
    1) you can use the url to navigate to the redirect page or can try exit plug.
    nikhil

  • How can I create different headers in Pages 09?

    I hope someone can explain to me how to solve this issue: I'm creating a simple training manual and I want the different chapters to appear in the header of the page - Chapter 1, Chapter 2, etc. Left and right pages are different because the margin has to be different for binding. Chapter 1 ended on an even page (a "left page.") I inserted a Section break at the bottom of that even-numbered page hoping to start a new section on the next page (odd numbered), and change the header to Chapter 2. However, to my surprise, when I changed the header to Chapter 2, all the previous headers for odd-numbred pages also changed to Chapter 2. Is there a way to prevent this from happening?
    On the Layout inspector, under Section, I only have checked the option "Left and right pages are different." Everything else is unchecked. I'm using version 4.2 of Pages 09 under Mountain Lion OSX.

    "Left and right pages are different because the margin has to be different for binding.
    Chapter 1 ended on an even page (a "left page.") I inserted a Section break at the bottom of that even-numbered page hoping to start a new section on the next page (odd numbered), and change the header to Chapter 2. "
    For the specifications above, the Inspector settings for Section 2 should be as shown in the image below:
    Section break at the end of the text for Chapter 1. If you have "Section starts on" set to "Right Page" your next section will start on the first recto page after the section break, inserting a blank page if necessary. You can also set this menu (red arrow) to start the next section on Any page (it will start on the next available page) or the next Left page (it will start on the lext verso page—an unusual setting).
    Page numbers may "Coontinue from previous section" or may re-start for this section, beginning with a value you set in the box (purple arrow).
    Left and Right are different (green arrow) allows a different header or footer on facing pages (eg. Book Title on verso, Chapter title and page number on recto). Note that this setting does not change 'Right' and 'Left' margin options to "Inside" and "Outside." That change is made by checking the Facing Pages checkbox in the Document Inspector.
    Finally, unchecking 'Use Previous headers & footers" allows editing the headers and footers in one section without changing those for the previous section. Note that the edits will take effect in the section containing the insertion point when the edit is made.
    Regards,
    Barry

  • How can I create a Splash / Welcome Page before the home page

    I'm trying to create a splash page to inform our users about some changes to the site before they enter the site. I created a new page in the top menu by clicking the left X of the home / index page, which is the result that wanted. But when I click on site properties of this new splash page it has inherited the "index.html" filename and when I export the HTML my home page is now named "index1.html."
    I'm concerned about the effects this will have on our SEO and analytics, so I was wondering if there was a work around for this. Basically I'm looking to have the Splash page with the new information be the first thing visitors see with a button that allows them to enter the main site sfter they've read the information. But I don't want to compromise the page structure by adding another index page or renaming the existing index page.
    Is this possible? Or can someone suggest a way to accomplish this in MUSE?

    CRESDesigner wrote:
    ...Is this possible?...
    Not quite, if you are concerned about SEO. Introductory or 'splash' pages are terrible for this and can hurt your search results even after you pull the splash page down. In regard to SEO, we already shoot ourselves in the foot by using Muse. Be careful about compounding this with a splash page.
    Ideally, your web site would check for the existence of a cookie that identifies if the visitor has seen the alert. If the cookie is not present, a DIV overlay would be presented with your alert. Once that alert is presented, the cookie would be written to prevent further display of the alert. You could achieve this in any other web design program (or text editor) today, or you can submit a feature request and wait for Muse to offer this functionality in months/years.

Maybe you are looking for

  • How to create a table with events in smartforms?

    How to create a table with events view in smartforms? It doesn't like general table with header, main area and footer. for example: in smartforms: LE_SHP_DELNOTE table name is TABLEITEM(Delivery items table)

  • Interested in a B&W minitower.

    I've been thinking about getting a used blue and white revision 2. But I want to make sure I can change some of the internals of my recent Beige over to it. - Western Digital 80GB - USB & FW PCI card - Radeon 7000 graphics card - 3 sticks of RAM ( 2X

  • Graph options disabled

    Hi, I am on SSM 7.5 SP04. A good lot of my settings are fine and tested. Just one final bit. Where I look at KPI details with the actual vs target bar chart, there is the graph options link. The link opens up a pop up to select different types of cha

  • Is anyone else's Windows 7 PC crashing from the CC 2014 programs?

    I've had nothing but trouble with Creative Cloud. First had trouble downloading and installing apps. Lately, however, my computer screen goes black and restarts. I've tied it to Photoshop CC 2014, Illustrator CC 2014 and Acrobat XI Pro. I've cleaned

  • Failure to mount USB Media player.

    Sansa c250, which about a month ago was working just fine when i would plug it in. It would automount, show up in nautilus. All was well Just plugged it in now and nothing. dmesg | tail resolve-modalia[21236]: segfault at 0 ip b7fa7dee sp bfccc934 er