Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Url Master  can i use .htm and .asp for my dnn site? using ur URL master.
Previous Previous
 
Next Next
New Post 9/9/2008 9:20 PM
  vels
11 posts
10th Level Poster


can i use .htm and .asp for my dnn site? using ur URL master. 

i migrating my old website to New DNN website.

i want to use my old website URL as it for my new DNN website.

i implemented the ifinity URL master in dnn site at locahost.

its working fine with extension .aspx, but i want my site urls are .htm extn and .asp extn.

for example:

http://csnsys081/qxchange/dataaccessplugins.aspx

to

http://csnsys081/dataaccessplugins.htm

can i get like this above?

how i do this process, pls explain.

 
New Post 9/9/2008 10:07 PM
  Bruce Chapman
640 posts
1st Level Poster


Re: can i use .htm and .asp for my dnn site? using ur URL master. 

Well I think you can achieve what you're after, but I'm not 100% clear on what that is.

The first thing is that you must have the same page extension for the whole site.  You can use .htm, .aspx or even .asp if you want, but you can't have half the pages with .asp and the other half with .htm.  You can, however, make your old Urls work by putting a redirect on them, so oldpage.htm will be forwarded to oldpage.aspx (or whichever extension you choose).

The first thing you must do is map the IIS configuration so that the ISAPI handler for each file extension points to the aspnet_Isapi.dll in the microsoft .net directory.  This is done through the IIS manager.

After you have done this you should choose the page extension in the Url Master settings.  This will be the page extension you want your site to run with.

You can then set up your pages in your site, and create all your site content.  Once this has been done, you need to create the redirects or Url mappings.  For example, you have dataaccessplugins.htm, and you want to forward all requests for that old url to the new one at data-access-plugins.aspx.  Select the 'data access plugins' page in the 'Admin->Page Urls' list.  Then, add a new Url for the page, and enter dataaccessplugins.htm, and set the action to '301'.  Save the changes.

Now, whenever someone requests dataaccessplugins.htm, they will be forwarded automatically to your new DNN page.

I would also take the time to rename the pages to something a bit more keyword-rich and friendly.  You don't need to stick to the same url of 'dataaccessplugins.htm'.  You can create a new Url for the page of somethign like 'data-access-plugins-information', or whatever you like.  You do this on the same Page Urls page, by adding a new Url in, and setting the status to '200'.

The best thing to do is experiment with it and understand how it fits together.

-Bruce

 
New Post 9/10/2008 7:16 PM
  vels
11 posts
10th Level Poster


Re: can i use .htm and .asp for my dnn site? using ur URL master. 

HI Bruce,

i done the IIS setting like below

  • Executable = c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll
  • For custom page extension -> Extension = .htm
  • Verbs = GET,POST,HEAD,DEBUG
  • Script Engine :checked
  • Check that file exists : unchecked
  • Click OK, OK  to close and apply changes.

but i got this error

 

 

 

Server Error in '/qxchange' Application.

The resource cannot be found.

 

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /qxchange/dataintegration-product.htm

can u explain how i solve this problem

thanks in advance


 
New Post 9/10/2008 9:01 PM
  Bruce Chapman
640 posts
1st Level Poster


Re: can i use .htm and .asp for my dnn site? using ur URL master. 

if you're going to run your whole site as .htm, you also need to enter '.htm' as the page extension in the Url Master 'Friendly Url Settings' page.   You should also check that dataintegration-product is the correct page name.  Also, you may need to remove the \.htm part of the regex filter in the 'ignoreREgex' field, under 'Advanced Regex Settings'.

 
New Post 9/10/2008 10:12 PM
  vels
11 posts
10th Level Poster


Re: can i use .htm and .asp for my dnn site? using ur URL master. 

Hi Bruce,

Now its working fine in all .htm extn.

but i want 3 URLs as .asp extn, how can i change this url like

  1. http://localhost/download.asp,
  2. http://localhost/buyqx.asp,
  3. http://localhost/inquiry.asp,

can u explain how its possible.

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Url Master  can i use .htm and .asp for my dnn site? using ur URL master.
Can't find the answer?
 

If you can't find the answer and don't have time...try out the Premium Support service.  Get personal attention and get the problem fixed by an expert.

 

Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

If you wish, you can use the Premium Support Service for one-on-one support.