Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > ASP

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 02-03-2015, 03:22 AM   #1
Ruby707
Registered User
 
Join Date: Sep 2014
Posts: 650
URL rewriting through global.aspx file

protected void Application_BeginRequest(object sender, EventArgs e)

{

if (Request.Url.ToString().ToLower().Contains("aboutu s.aspx"))

{

app.Context.RewritePath("/PrayerForPease/showStaticPages.aspx?pageId=" + pageId);

}

}
Ruby707 is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create the Sitemap file manually? sahithya Search Engine Optimization 4 11-26-2014 06:23 AM
How to edit virtual robots.txt file in wordpress? geniusoptimizer PHP / mySQL 1 04-12-2013 12:36 PM
RSS Feed rajivwebads Search Engine Optimization 12 08-31-2012 07:15 AM
setting file pointer by line ncjbhd HTML / DHTML 0 10-24-2011 08:43 PM
include file using html ncjbhd HTML / DHTML 0 10-17-2011 12:21 AM


All times are GMT -7. The time now is 04:00 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.