Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Hide or remove the "lang="en-US" tag from pagesHide or remove the "lang="en-US" tag from pages
Previous
 
Next
New Post
11/20/2013 3:53 PM
 
Hello,

I would like to hide or remove the

<html  lang="en-US"> to make it just <html>

We have some pages on our site that are in Italian, Spanish and such that I would need to designate the proper "lang=" meta code such as lang="es"  and lang="it"

What is the easiest way to do this on a page by page basis, my assumption is just to remove the lang="en-US" across the site and the ADD foreign language metas where necessary?

Also we don't want to have flags floating around on the pages

This seems like an easy request as its a need for alot of sites, but for some reason its difficult finding a proper answer.
Please provide step by step as we are new to DNN


Thank you
Mike
 
New Post
11/21/2013 3:43 AM
 
page culture is added by DNN localization. If you don't want to utilize it you may use language specific sub websites, each with the relevant language enabled (and default).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/21/2013 11:11 AM
 
yes, it seems like a flaw in DNN's design, as most SEO's want control over if a language tag shows or not. It seems absurd to have to create entire "new sites" just to have the language code change, especially in our case with 1 or 2 pages written in different languages.

DNN should consider some of these factors, including pure control over "metatags", as alot of the metas generated by DNN are obsolete and undeeded.  (thus filling the <head> with extra meta code. I know DNN hosts alot of "SEO" webinars, though their architecture at times seems counter intuitive to what SEO's actually want.

If anyone has an alternative solution to the language code issue, please chime in....

Thank you
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Hide or remove the "lang="en-US" tag from pagesHide or remove the "lang="en-US" tag from pages


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out