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

Web solutions to small local us businesses, Develop web sites on the AS400 ...

Develop web sites on the AS400 V3R6, V4R5 create CGI programs etc. Administer and setup AS400 webserver, DNS server and email server. US startup company looking to capitalize on

I want social hotspot software, I want Social Hotspot software Project D...

I want Social Hotspot software Project Description: I need to set up social hotspots where users kan access internet after a facebook like.I want someone who can make this po

Web project, how to success at any web project?

how to success at any web project?

I want software engineering assignment project, I want Software engineering...

I want Software engineering assignment project and project report Project Description: A small database solution with web interface It DOES NOT have to be a completely cod

Need software development, We need software for windows 8 where the softwar...

We need software for windows 8 where the software should fulfill below functions 1 - Software will be used by 4 Users (Manager, Tea-Boy and Secretary, Asst. Manager) - All Users

Required unity rpg developer, Required Unity RPG developer Project Descr...

Required Unity RPG developer Project Description: I am presently planning to bring new Final Fantasy like RPG's to the Nintendo Wii U come 2015. In March there is this fundin

Org chart component for delphi, Org Chart Component for Delphi Project D...

Org Chart Component for Delphi Project Description: We're seeking an experienced freelancer in the creation of an "Org Chart" component. We really are using an Org Chart c

College, how to design web pages with html, css,javascript

how to design web pages with html, css,javascript

Microsoft exchange 2013 dag and replication, Microsoft Exchange 2013 DAG an...

Microsoft Exchange 2013 DAG and Replication Project Description: I am seeking migrate a 2013 Microsoft Exchange environment from AWS EC2 to VMWare ESXi. There are 150 mailbox

Delivery company website, Dear Mr /Ms what is the price for an delivery com...

Dear Mr /Ms what is the price for an delivery company website would be ?

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