Vb.net redirect and rewrite rules using codebehind, Web Project

Assignment Help:

Project Description:

Need VB.net programmer to make some (hopefully) minor code edits to resolve some site issues. I can supply the CodeBehind (.aspx.vb) files and the Main.master.vb file. All edits have to be made in these files. Server level and IIS rewrites are unfortunately not an option.

This can be a trial and error process to see if the changes work with the server and CMS. I am code-savvy but require expert guidance for these customizations.

 

About The Site and Server Environment

IIS 7.5 on Windows Server 2008 R2

Custom CMS using VB.net, MasterPages, CodeBehind

Current Issues

1. Whenever a user visits a non-existent page ending in .aspx, they are masked-redirected to the default page, which is the site home page. All other missing/ non-existent pages return the correct 404 page. I need the missing .aspx pages to return a 404 error.

The way the redirect code is set up is this:

If ThePage Is Nothing Then

ThePage = FindDefault

End If

The main issue is that when this code is removed, the home page root (mysite.com/) returns a 404 error because it falls under the "If ThePage Is Nothing Then" statement. I want an exception for the home page so it does not return a 404 error. Hopefully this can be resolved with a few lines of code. :)

2. Force lowercase urls sitewide and on all subdirectories EXCEPT for admin folder.

This will be done in IIS but it breaks some functionality in the / directory/ admin. I need an exception for the /admin/ directory.

3. Rewrite underscores to dashes in all urls and redirect old urls to new ones

Present site CMS inserts underscores in URLs. I want these rewritten to dashes and all URLs using the underscores to be 301 redirected to the new links.

Exclude / directory/ admin

4. I want to drop the .aspx from all URLs and force a trailing slash on the recently rewritten URLs. All old links should 301 redirect to new links.

Skills required are .NET, ASP, IIS, Visual Basic, Windows Server


Related Discussions:- Vb.net redirect and rewrite rules using codebehind

Want to fix issues with swf audio recorder in ie, Want to fix issues with S...

Want to fix issues with SWF Audio Recorder in IE as well as Safari We are having some issues in the website for the following functionality like recording, saving files and play

Flash as2 scorm 1.2 package for moodle 2.5, Flash AS2 SCORM 1.2 package for...

Flash AS2 SCORM 1.2 package for Moodle 2.5 Project Description: Prepare a SCORM 1.2 package for Moodle 2.5 using Flash ActionScript 2.0 Flash application must connect with

Develop invoicing software, Develop Invoicing Software Project Descripti...

Develop Invoicing Software Project Description: We are new Internet service Provider in Bali, we need invoicing software to bill our customers 1. customer information entr

Unlimited geo pva creation and verifier with elite proxies, Unlimited geo p...

Unlimited geo pva creation and verifier with elite proxies Project Description: I am looking for a way to post limitless ads on craigs list without being ghosted of flagged.

I need help in xpo window 8, Xpo window 8 I have a client that is using ...

Xpo window 8 I have a client that is using this Template for his website There is one issue that the scrolling bar is showing in windows 8. You must know ColdFusion well.

X86 runtime for arm linux development, X86 Runtime for Arm Linux developmen...

X86 Runtime for Arm Linux development Project Description: I want X86 runtime using dynamic binary translation for arm Linux development. Developer who has sound knowledge of

3d game group, 3d game Group Project Description: we willing to have ...

3d game Group Project Description: we willing to have an app in IOS + Android same like the 3d game called: subway surfers It is a 3d game, so ONLY reply if you have exper

We need help to create a website, We need help to create a website Make ...

We need help to create a website Make website based on my current wordpress site as well as convert to a static site. Would like the basic look of the site to endure the same bu

I need help to recreate, Recreate, translate & simplify 2 static sites I...

Recreate, translate & simplify 2 static sites I want someone who can rebuild 2 sites- The new sites must be made in classic html & css, except for JavaScript we can't use php

I need angularjs / javascript development expert, I need AngularJS / JavaSc...

I need AngularJS / JavaScript Development expert We're seeking a JavaScript Ninja to help grow our product faster. Our webapp is written in JavaScript using AngularJS and we

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd