Learn More





New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ...Login ReturnUrlLogin ReturnUrl
New Post
11/17/2013 7:02 PM

Hi everybody.

On every page of my DNN Site, on the top there are Login and Register link.

On every page the link has a different returnurl parameter, so my SEO consultant ask me to remove this parameter. There is only one login page and only one register page, but for SEO all this different link are not good.

It's possible to force DNN to put a /register or /login only without returnurl parameter?

Thanks, sorry for my non perfect english.


New Post
11/18/2013 1:35 AM
both of those links are generated by the login skinobject, and it does not support a property to remove the returnurl - this is a harmless value and simply reflects the url of the page you are on when you login or register (so DNN can return you to that page after login/registration). I'm not sure why an SEO consultant would say to remove them, but you could edit the code. Typically I would copy the existing code i.e admin\Skins\Login.ascx and admin\Skins\Login.ascx.cs and create a new skinobject based on the original skin object and amend it as required (and update your skin for the new skin object token name)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
11/18/2013 2:46 AM
The whole point of having a valid returnurl is to allow users to LOGIN and then be returned back to the page they were on.

This is called having a "good user interface" - without it - the login module has no idea where to go after a person logs on and will wind up sending everyone to the home page.

And for what its worth - a good users interface will always trump any perception of what may or may not be good SEO.

Actually in reality - I could actually argue that the bad SEO arguement from your 'expert' is NOT valid
See - you could basically say that there are in fact many different LOGIN and REGO pages on your site.
Each of which has a unique and valid purpose - that is - to redirect the user back to specific page.
So each of those links on each page - send the user to a specific implementation of the LOGIN or REGO module.

But these days - I would have to say that pretty much all the LINK obsession with SEO experts is becoming increasingly misdirected.
Internal links on your webpage represent an increasingly shrinking vector in terms of the massive number of mechanisms
or GRAPHS that search engines utilize to generate that final page ranking for you page.

For me - I would first look at what makes your site functional and viable
- a functional returnurl for login and rego - something which is utilized by millions of websites all over the internet - I would put in that class
- and since NO ONE actually knows how google really makes that page ranking anyway - there's likely a pretty good chance that they are smart enough to know what is going on anyway.

Just my 2 cents

FWIW - have a look at this article from a month or so that puts things a little more in perspective:

And more significantly for the future:

New Post
11/18/2013 8:55 AM


If you (the administrator of the site) are the only person that have to login, you have enough with a unique login link without returnurl.

In this case you can also hardcode the link (/login) in your skin.

To answer to your SEO consultant.

1) The login page in the dnn 6 and 7  is not indexed in search engines because dnn add  

<meta id="MetaRobots" name="ROBOTS" content="NOINDEX, NOFOLLOW" />

to the login page(s)

2) An other way is to go to Google web master tools and tell google that the returnurl don't modify the content of the page. So google see a unique page for all variants with the different returnurl parameters.



New Post
11/18/2013 4:32 PM

Hi thank you all to have explained to me all this interesting stuff.


HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login ReturnUrlLogin ReturnUrl

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

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.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out