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

Configure and install red5 on windows 2008 server, Project Description: ...

Project Description: I want some to install and configure Red5 on my Windows server to do the subsequent: 1) Broadcast live video/audio streams from multiple simultaneous cli

Kannekt real estate, I need to construct a real estate data base with email...

I need to construct a real estate data base with email addresses and office addresses to prepare a customer database. I need Real Estate agents in Victoria first, and then Australi

Need incorporation of paywall for an online videos, Incorporation of paywal...

Incorporation of paywall for an online videos We are in search of a developer to implement a paywall in addition to payment process so that visitors can pay to watch our videos.

I need export data using json, I need Export Data using JSON Project Des...

I need Export Data using JSON Project Description: We would like to share our data with other websites via JSON. We are presently using Entity Framework with MySQL. We nee

Desktop launcher application for linux using qt5 and qml, Desktop Launcher ...

Desktop Launcher application for Linux using Qt5 and QML Project Description: I want to get developed beautiful and innovative launcher application for Linux desktop inspired

I want a windows 8.1 metro style app, I want a Windows 8.1 Metro style app ...

I want a Windows 8.1 Metro style app Project Description: Windows 8 and 8.1 metro style app development - Media Player application Skills required are C# Programming, Visu

Email shot software, Email Shot Software A marketing agency is require o...

Email Shot Software A marketing agency is require of bulk email software where they can send from gmail, This software must be desktop based, can track statistics, and have t

I need creative developer with the knowledge of rails, I'm In search of ver...

I'm In search of very creative developer with the knowledge of Rails, Ajax and JQuery. It's a job for Web Application development in the field of Music that connects musicians e

Software to track the use of the x-ray equipment, A small piece of software...

A small piece of software to track the use of the x-ray equipment Project Description: PHX Finance is seeking a software developer to create a simple, small piece of software

PHP, I''m an (Security Analysis Specialist) and i must complete this assign...

I''m an (Security Analysis Specialist) and i must complete this assignment to pass the current module of my current training certification the instructor Gave me an assignment to

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