Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Inside Infinity URL , 301 redirect for old urls not working , 404 not working for html extension Inside Infinity URL , 301 redirect for old urls not working , 404 not working for html extension
Previous
 
Next
New Post
6/26/2014 2:13 PM
 
Hi,

I have installed the latest version of Infinity url master module and licensed not trial with dotnetnuke version 7.0.5  and 301 redirect and 404 for html pages not working .

My old site was having both .htm as well as .html pages and even pdf files which are coming on google search results. I want to do 404 redirect for pdf files, .htm and .html pages . Also, added 301 redirect for one .htm page and for some .html pages but 301 redirect for .html pages not working . 

I have added following to my web.config 

<!-- classic mode .htm handler to make asp.net handle .htm requests -->
  <add scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv4.0,bitness64" path="*.htm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" name="HtmlHandler-Classic"/>
  <!-- integrated pipeline mode handler to make asp.net handle .htm requests --><add type="System.Web.UI.PageHandlerFactory" requireAccess="Script" preCondition="integratedMode" path="*.htm" verb="GET,HEAD,POST,DEBUG" modules="ManagedPipelineHandler" name="HtmlHandler-Integrated"/>
    </handlers>

eg. 404 REDIRECT NOT WORKING FOR  http://www.reltekllc.com/kajdsj.html  , 301 redirect for http://www.reltekllc.com/bondit-b46.html not working . 

Also, I have already removed .htm and .html from regix of page urls under admin and friendly urls under host.

Thanks
Pranav
 
New Post
6/27/2014 6:10 PM
 

Pranav - you have associated the .html extension with the asp.net runtime correctly (i.e., the web.config entries are correct).  I can tell this because it is throwing the asp.net 404 error page and not the IIS error page.

Please check the 'ignoreRegex' setting in Url Master and determine if it still includes the html and/or htm extensions in the list.

I am not sure if you have read this, but this guide for redirecting .html pages is still current for the Url Master product:

http://www.ifinity.com.au/Blog/EntryId/66/How-To-301-Redirect-htm-or-html-pages-to-DotNetNuke-aspx-pages

Please ensure that all the instructions in this blog post have been followed.

 
New Post
6/29/2014 12:13 PM
 
Hi Bruce,

Thanks for you response with the info. I have already followed the guide you mentioned in your last comment.

Please check this http://www.reltekllc.com/kajdsj.html. Its not working .I was supposed to redirect to 404 page and 301 redirections are still not working.

In 'ignoreRegex' the html and htm already removed as per the guide.

Please see the screenshots of the settings :-

http://grab.by/yauK portal urls

http://grab.by/yava friendly urls

here is my complete web.config :-

http://grab.by/yavy

PLEASE HELP ME . THIS IS EFFECTING THE WEBSITE SEO .

Thanks
Pranav
 
New Post
6/30/2014 6:37 AM
 
Have you set the 404 page for the portal?  (the web.config screenshot didn't work - if you do this make sure you obscure your passwords)
 
New Post
6/30/2014 8:31 AM
 
Hi Bruce ,

I have checked and found that 404 redirect is enabled inside portal urls settings.

Also, when I goto freindly urls setting under host I see following message at the footer "The current settings allow for Http Compression to be used on this DNN Install. It is not currently being used - this is normal." when I test following url http://www.reltekllc.com/kajdsj.htm for 404 which is not working.

Here is my web.config with no actual database details :- http://tardis1.tinygrab.com/grabs/aba...


Please help me in fixing this issue asap. Also, I can send you website access if you can provide me your email.

Thanks
Pranav
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Inside Infinity URL , 301 redirect for old urls not working , 404 not working for html extension Inside Infinity URL , 301 redirect for old urls not working , 404 not working for html extension


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out