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

I want to design and create html for email template, Want to Design and cre...

Want to Design and create HTML for email template I want a marketing email template designed for my startup. I previously have the text and photo content defined - I want the vi

I am seeking someone to do some web scraping, I am seeking someone to do so...

I am seeking someone to do some web scraping to check all the businesses of a particular type within the uk. If you could give the address (postcode), contact number, mail addre

Google plus button not functioning properly, Google+ Button Not Functioning...

Google+ Button Not Functioning Properly I'm seeking someone to fix my Google+ button on this site: While a user clicks on the Google+1 button at the top of the page, the +1 i

Want vpn/ vyatta network os, I have two hosted servers on rackspace and I a...

I have two hosted servers on rackspace and I also have a Vyatta hosted server on rackspace. I want an IP sec lan to lan tunnel setup on Vyatta, I already have the client data. C

Data mining and web scrapping project, Project Description: I have tools...

Project Description: I have tools that allow me to scrap from Amazon as per my selections. My intent is to create an inventory of books in particular. At one point I needed to s

Website api integration, Website API Integration Project Description: ...

Website API Integration Project Description: We have an existing website and need both a re-design of the current site and some integration with the API of our current suppli

Xml file, I am preparing XML file/ DTD/XSLT Project Description: -Pre...

I am preparing XML file/ DTD/XSLT Project Description: -Prepare a Well-Formed XML File. - Prepare a DTD. -Use XSLT to Format Data. - Prepare your own XML file/DTD/XS

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

Project e-commerce website along with store software, Project E-commerce we...

Project E-commerce website along with Store Software Project Description: We want an e-commerce website along with a store management system made in .NET using: ASP.Net. MS S

Simple scenes modeling for oculus rift, Simple scenes modeling for Oculus R...

Simple scenes modeling for Oculus Rift Project Description: I am seeking simple scene modeling, with basic interaction with environment Looking for liable designer/modeler

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