Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Friendly Url Pr...Friendly Url Pr...Missing Page Continuous LoopMissing Page Continuous Loop
Previous
 
Next
New Post
2/9/2012 1:01 AM
 

Hello..  Here's an odd issue.

With our DNN website, we have departmental pages with main pages.  It gives the illusion of sub-folders, etc.  E.g.  Departments/BOE/main.aspx

The Departments/BOE.aspx page has it's metatags setup to javascript re-direct to the main page automatically.
E.g:
<script type="text/javascript">
<!--
window.location = "./BOE/Main.aspx"
//-->
</script>

But, if someone puts in a non-existant page URL (e.g. Departments/BOE/birthday.aspx), it goes into a loop where the URL starts going nuts.  It starts showing up as Departments/BOE/BOE/BOE/BOE/BOE/BOE/BOE/BOE/BOE/Main.aspx with /BOE being added over and over and over.

Is there a way to fix this?  Thanks.. -Jeff

 
New Post
2/9/2012 1:11 AM
 

Forgot to add, the reason we use the Metatag of the page instead of the DNN re-link in the page settings, with the Metatag configured, the page will be shown in the list of available pages for certain things; such-as add from existing pages, etc.

If the page settings are setup for re-linking to another page, the main page won't be shown in the list of existing pages.


 
New Post
2/9/2012 5:23 PM
 

Jeff - is this with the Friendly Url Provider module?

The reason for the loop is probably the relative Url you've used.  I would use a fully-qualified Url to do a redirect.  But I would probably setup a server-side redirect to do it anyway, rather than a client-side redirect.

 
New Post
2/9/2012 8:57 PM
 

Hello..

I removed the client-side redirect and put in the server-side redirect and tested.

Everything seems to be working properly now.  If I enter a non-existent page (e.g. /Departments/BOE/birthday.aspx), it re-directs to the main page; event though the URL looks odd (e.g. /Departments/BOE/Main/birthday.aspx).  BUT, it works.  :)

Thank you again for your assistance and a GREAT module.  Thanks.. -Jeff


 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Friendly Url Pr...Friendly Url Pr...Missing Page Continuous LoopMissing Page Continuous Loop


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.