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

Optimize a windows server with ms sql large database site, Hi I want someon...

Hi I want someone that knows how to optimize a dedicated server for running a large MS SQL database driven site, basically I am a developer but am not very familiar when it comes t

I need sql iis setup and admin, I need SQL IIS Setup and Admin - maybe TFS ...

I need SQL IIS Setup and Admin - maybe TFS I want a good Microsoft Admin experienced in SQL Server and IIS. They need to be able to set it up and administer from then onwards

Collect contact details from facebook pages, We are seeking someone to coll...

We are seeking someone to collect contact details from Facebook pages, We will show a list of pages and also we need you to gather other pages related to these pages and from th

Create a replica of zoomin, Create a replica of zoomin Project Descripti...

Create a replica of zoomin Project Description: I just want an exact replica of zoomin.com. I will take care of Php/DB/Design, you are liable for developing Flex piece and in

Medicinal plants project, Ask question #please write the conclusion for the...

Ask question #please write the conclusion for the given project.#

Need buzztouch expert, If you are working with Buzztouch platform, I am loo...

If you are working with Buzztouch platform, I am looking for someone to assist me sort out some errors that arise when launching in xcode. Essentially, only 3-4 errors. I just need

Monitoring system for hyper-v, Project Description: We are seeking someo...

Project Description: We are seeking someone to implement us a monitoring system to do subsequent: Display VM's average CPU usage by hour, day, week (if possible, live, too wi

3d game coder and designer team, 3D game coder/designer team Project Des...

3D game coder/designer team 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

Need support in css template design, Need support in CSS Template Design ...

Need support in CSS Template Design Template design for ecommerce solution. This CSS template with be dynamic founded on bootstrap framework Desired Skills are CSS, HTML, PHP

Unity animation, Unity animation Project Description: My goal is to r...

Unity animation Project Description: My goal is to recreate flash based animations in Unity 3D format. Will you do that accurately? Skills required are 3D Animation, Flash

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