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 project help, hi, i am it student that deal with a web project currentl...

hi, i am it student that deal with a web project currently. I had done the css and html, javascripts for my website. Now i need to get into php and mysql for getting the website be

Clumsy ninja game, Clumsy ninja game Project Description: We looking ...

Clumsy ninja game Project Description: We looking for a team that can built same app as 'clumsy Ninja' with SAME techniques that they used!! See this video so you can see whi

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

Expert to create a 360 degree virtual tour in krpano, Virtual Tour (KRPano)...

Virtual Tour (KRPano) Project Description: I am seeking an expert to create a 360 degree virtual tour in KRPano for use on PCs, tablets and smartphones. You will be given wit

Need a prestashop car parts theme plus installation, Need a prestashop car ...

Need a prestashop car parts theme plus installation Hello, I am presently looking for a prestashop car parts theme with installation onto my hosting account. Need someone who

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

Prepare social networking site for poker hands, Builder of great web-based ...

Builder of great web-based software required. My concept, functionality, information architecture, design mock-ups have all been completed. I require someone to bring it to life. I

Twitter for cad, Twitter for CAD Project Description: Twitter applica...

Twitter for CAD Project Description: Twitter application GUI using twitter4j api that manages .dwg files. Code provided in java for data retrieval from twitter using hash tag

Er diagram, how to draw the er diagram of an hr management?

how to draw the er diagram of an hr management?

Required corona sdk developer, Required Corona SDK Developer Project Des...

Required Corona SDK Developer Project Description: We are MGT Studios, Inc., a mobile game development company use the Corona SDK to build casino themed games. The positions

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