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

Dedicated email server and software, I want Email Marketing Server for Emai...

I want Email Marketing Server for Email Blasting, price based on a month by month plan but fixed for 12 months 1) You must give me demo account with id and password to test 30 i

Change dbgrid fontstyle and colors on delphi xe2, Change DBGrid FontStyle/ ...

Change DBGrid FontStyle/ Colors on Delphi XE2+ Application Project Description: I want to Change DBGrid Colors/FontStyle on Delphi XE2+ application, so i want a code to do th

Need windows proxy server installation, Need Windows Proxy Server Installat...

Need Windows Proxy Server Installation Project Description: I'm seeking someone to help me install a socks proxy server on a windows PC with a dynamic IP address. So that mea

Help to create update search function in flat file database, Need help to c...

Need help to create Update search function in a flat file database Currently if a user searches for Charles C Dixon however the record is listed as Charles Dixon, the search res

Wix commerce site requires shopping backend integration, WIX commerce site ...

WIX commerce site requires shopping backend integration Project Description: We need a robust backend integrated shopping cart to compute taxes in various California counties

Coldfusion ecommerce application using an oracle database, Require someone ...

Require someone to integrate an XML data feed into Coldfusion ecommerce application that is using an Oracle database. Desired Skills Oracle Administration, XML, ColdFusion, A

Designed apk file for xbmc on an android tv box, Recently designed APK file...

Recently designed APK file for XBMC on an Android TV Box We are seeking someone to have knowledge in Android's operating platform. We are a business that manufactures Android TV

I need help for access marco''s database, I need help for Access Marco's da...

I need help for Access Marco's database I have an access database I need Marco's made for. The database is 95% done simply need some finishing touches to tie it all together.

Set up a new website in wordpress, Looking for someone to set up a new webs...

Looking for someone to set up a new website which must be user friendly and easy to update by our client. Experience with Wordpress and other development products an advantage. Mus

Prepare a android runtime development for linux, Prepare a Android runtime ...

Prepare a Android runtime development for Linux Project Description: We want android runtime to be developed for Linux so that Linux can able to execute android applications.

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