Search
Home
Website Services
LetItShine Update Service
YouTube Snip-O-Matic
Support
Terms And Conditions
Website Components & Solutions
Contact Support
Server Status
DNN Support Blog
Action Form Notes
Remote Assistance
LetItShine FileTransfer
Safe Setting Transfer
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Forums
>
DotNetNuke Support
>
DotNetNuke Support
Reply To Topic
Topic:
How to create a short URL on your DNN website
:
Posted By
Deleted User
on 5/11/2011 11:03 PM
How to create a short URL on your website For example, you want http://ihom.org/jsm to go to http://ihom.org/GETINVOLVED/Ministries/JobSearchMinistry/tabid/440/Default.aspx Here is how to do it: Create a folder in the root folder of the site (httpdocs) Name the folder with the last part of the desired, short URL name that you want. Open notepad and paste in the code below Change the location to match your long URL Change the contents of the <p> tag Save this file as default.asp Copy it to the new folder you created. Done <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Language" content="en-us" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>You have reached Job Search Mini</title> <%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location", "http://ihom.org/GETINVOLVED/Ministries/JobSearchMinistry/tabid/440/Default.aspx" %> </head> <body> <p>You have reached Job Search Ministry</p> </body> </html>
Username:
Security Code:
Enter the code shown above in the box below.
Subject:
RE: How to create a short URL on your DNN website
Message:
Smilies
Submit
Cancel
Subscribe:
Check the box to receive email notifications for this topic.
Topic Review
Deleted User
New Member
Posts:62
5/11/2011 11:03 PM
How to create a short URL on your website
For example, you want
http://ihom.org/jsm
to go to
http://ihom.org/GETINVOLV...bid/440/Default.aspx
Here is how to do it:
Create a folder in the root folder of the site (httpdocs)
Name the folder with the last part of the desired, short URL name that you want.
Open notepad and paste in the code below
Change the location to match your long URL
Change the contents of the <p> tag
Save this file as default.asp
Copy it to the new folder you created.
Done
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtm...ml1-transitional.dtd
">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>You have reached Job Search Mini</title>
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "
http://ihom.org/GETINVOLV...bid/440/Default.aspx
"
%>
</head>
<body>
<p>You have reached Job Search Ministry</p>
</body>
</html>