Tag Archives: seo DotNetNuke

ByAlexia Pamelov

How To Enable Google Analytics on a DotNetNuke Website?

CheapWindowsHosting.com | Best and cheap DotNetNuke Hosting. Google Analytics is one of those must-have tools when running a website.  The tasks of tracking traffic sources, browser versions, search terms, etc. are all made easy.  The developers of DotNetNuke have also made using Google Analytics on a DotNetNuke website simple.

00_dnn_hero

Installing Google Analytics in DotNetNuke is a fairly common request from many individuals and I know it can be a quite troubling question for most. The primary questions are how and where can I put the javascript code provided by Google. Well you have a few options. First you could put the code directly in the skin for the site, the advantages to that would be that you will automatically have the code on all pages, however, the disadvantage is that you cannot use that skin as is on another portal due to the site specific Google information. I personally go the route of adding a text/html module to my site and set it to show on every page and insert the script in a very specific location which I will discuss below. There are a few drawbacks to this method. First you will not get any statistics information on traffic to “edit pages” where other modules are not displayed and you also will not receive information regarding administration modules. However, in most circumstances this shouldn’t be an issue.

The best way to include this information is to include the information in the Module header of the text/html module. This is to prevent the accidental removal of the script code if you happen to click inside the module as an admin to enter in-line edit mode. Below I will walk you through the steps needed to implement Google Analytics using this method. (NOTE: you can extend this for other javascript integrations if needed).

Step By Step

  • Add a new Text/HTML module to a page of your site, you can position it anywhere, but I recommend the bottom of the page as administrative users will still see the module when they are logged in
  • Edit the text of the module to contain no text
  • Enter the module settings from the SolPart Action Menu
  • Expand the “Advanced Settings” section
  • Check the box next to “Display Module On All Pages?”
  • Insert your Javascript code in the “Header” box. This will ensure that the data is always retained
  • Now under “Page Settings” -> “Basic Settings” un-check the following boxes
    • Display Container
    • Allow Print
    • Allow Syndicate
  • Ensure that the “Cache Time” is set to 0 (Caching appeared to cause issues with this implementation in my testing)
  • Click “Update” to save your changes

This should complete the setup. You may now test to ensure everything is functioning correctly. You can log out as an administrator and view your site and no extra content should be displayed however if you look at the generated source you should see your javacript listed. Google Analytics should update within about 15 minutes to show that they are receiving your data.

Best DotNetNuke Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers DotNetNuke hosting starts from $5. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable DotNetNuke Hosting, we should be your best choice.

ByAlexia Pamelov

The easy Ways To Improve Your Website SEO In Dotnetnuke

CheapWindowsHosting.com | Best and cheap DotNetNuke hosting. There are some ways DNN can improve the SEO of your site.

10-tips-for-seo

Customizing Page Titles And Meta Data

1.  Login as Administrator
2.  Go to Page -> Edit Page -> Page Settings -> Go to tab : Page details then change the Page Title, Description
 

Drop-down Navigation Built In CSS

Navigation by CSS really just means using simple HTML to show the page, and using CSS to style the menu instead of arcane amounts of script or other tricks. This assists with SEO by making it very easy for a search engine crawler to index your site and understand the structure of the site via the menu. Simple HTML and CSS menus are fast to parse and simple for a search engine bot to understand. Fast and simple is good.
 

URL structure

1.  Login as an administrator, then navigate to the page on which you want to set the URL
2.  Using the ‘Edit Page’ dropdown – go into the Page Settings
3.  Type in the URL you want to use in the Page URL field
4.  Click on ‘Update’.
 

Support For The REL=CANONICAL Tag

To set a canonical link on your page, here’s what you need to do 

1.  When logged in as an administrator, bring up the page settings on the page you’re on, using the Edit Page->Page Settings link
2.  Switch to the ‘Advanced Settings’ tab of the Settings screen, and scroll down until you find the ‘Appearance’ section
3.  In the ‘Page Header Tags’, copy in your Canonical Link Element tag – this is in the format of:
    http://example.com/your-canonical-url” />
4.  Click Update Page when you are done.

 

XML Sitemap Creation Function

Here’s how to submit your DNN sitemap to search engines: 

1.  Log on as an administrator, and go to the Admin->Site Settings page
2.  Find the ‘Site Marketing’ section and expand it
3.  You will see the ‘Site Map URL’ section with a submit button next to it. Click ‘Submit’ to submit this to the selected Search Engine.

 

No Frames Or IFrames

As the Search Engine Watch article says, hosting frames within pages makes it harder, if not impossible, for a search engine to understand a site. The answer for DNN is simple: we don’t use Frames or IFrames anywhere. You can install IFrames if you want, but they aren’t used as part of the application.

 

301 Redirects, Not 302

Here’s the steps to create a 301 redirect to a DNN page: 

1.  Make sure you’re logged in as an administrator, and go to the Edit Page->Page Settings link to bring up the page settings
2.  Navigate to the ‘Advanced Settings’ tab of the Page Settings popup, and find the ‘URL Management’ section and expand it
3.  To create a new redirect, click the ‘Create’ button in the top right of the URL Management section
4.  For the Site Alias, by default it will choose the primary alias for your site. You can also choose any other alias you can configured for your site. You would choose a different alias when the URL you want to redirect was from a different alias to the one the site currently uses (oldexample.com/my-url redirected to newexample.com/my-new-url)
5.  In the URL Path input box, type the path of the URL as it would appear on the end of the selected site alias. You don’t need to include the leading / as this will be added for you.
6.  In the URL Type drop-down, choose ‘Redirect (301)’ – this specifies the URL you entered will be redirected to the current page using a 301 HTTP status
7.  If the URL you wish to redirect includes a Query String (the code to the right of a ? in the URL), then enter that in the Query String box. This is optional – you don’t need to enter anything here if you don’t have the value.
8.  At this point your URL redirect is finished- click ‘save’. This will add it to the list of ‘Custom URLs’.
9.  Click on ‘Update’ to close the Page Settings. Your URL Redirect is now active and can be tested.


Pagenavigation

This factor relates to the use of the rel=next and rel=prev tags. These tags help a search engine understand when pages of content are part of a paginated results set – where there are multiple pages of content for the results of a search or listing.
DNN doesn’t have a set of paginated results as part of the standard product. The search feature of the site uses dynamically loaded content instead of URL-paginated results. However, the extensibility model of DNN means that you can write whatever feature sets you use, and modify the output HTML to include pagination tags.
 

Custom ALT Tags

It’s easy to set the Alt attribute on an image using the in-built content editor. Here’s how to do it: 

1.  Login as an Administrator, and put the page you want to edit into Edit Mode using the ‘Edit Page’ drop down
2.  Edit the content you wish to change
3.  When the HTML editor has loaded, select the image, and right-click on the image to select the properties of the image
4.  In the image properties, update the ‘alt’ text field. Choose a phrase which best suits the image, and which also matches the desired search terms or search phrase you want the page to rank for.
5.  You can check the HTML for the specific image you are setting the Alt tag for – here you can see the HTML tag has been updated as we would expect.
6.  Click on Update to update the page.


Breadcrumb Navigation

Breadcrumbs are included in the default skin of DNN, so you can copy from there. Here’s how that is done: 

1. The Breadcrumb skin object is included in the skin references
2. The Breadcrumb skin object is then included within the skin HTML and the attributes for the starting level and the breadcrumb separator are set: Breadcrumb Skin Object DNN SEO
3. At runtime, the skin object applies to the current page in the hierarchy and shows the breadcrumb levels including the URLs for the page.

ByAlexia Pamelov

Cheap Windows Hosting Tutorial – Improving DotNetNuke SEO

CheapWindowsHosting.com | In this post I will show you how to improve DNN seo easily. also how for each one, along with some bonus tips as well.

Here are ten ways DNN can improve the SEO of your site.

1) Customizing Page Titles and Meta Data

There are several key fields that search engines use in their ranking algorithms: page title (that’s the text you see in the title bar of the browser), meta description (that’s text describing your page to search engines, which your visitors don’t normally see) and ‘H’ tags, which are your H1/H2/H3 tags denoting which are the headers in your content.

2) Drop-Down Navigation built in CSS

Navigation by CSS really just means using simple HTML to show the page, and using CSS to style the menu instead of arcane amounts of script or other tricks. This assists with SEO by making it very easy for a search engine crawler to index your site and understand the structure of the site via the menu. Simple HTML and CSS menus are fast to parse and simple for a search engine bot to understand. Fast and simple is good.

The great thing about Evoq Content is the ability to swap components in and out as you need. There is a standard menu system that generates CSS-based menus. But if you don’t like that particular menu, you can choose from a range of different menu types to swap in to your site. So you are never locked in to a particular choice.

The standard DNN 7 Skin uses the ‘DDR Menu’ component, which provides a CSS-based, simple menu system. The default skin provides a good jumping off point to develop your own skin – or you can purchase a multitude of skins from the DNN Store.

You can see this in the below image of the standard DNN 7 skin
ddntem

3) URL Structure

The Search Engine Watch article covers URL Structure for two reasons:the first being the ability to set static, keyword focused URLs that are ‘sticky’ to your page. URLs are important for SEO purposes for a variety of reasons and paying close attention to them yields ranking benefits. 

A URL is what is used to link to your site – whether from an email, social media post, other blog post or just a plain old web link from another site. Links coming into your site have a large bearing on the ranking you receive from a search engine – all else being equal, a site with more links from high-quality sites will rank better. Paying attention to links is important for SEO.

4) Support for the rel=canonical Tag

The Canonical link element is a way to inform search engines that a page might be available under a separate URL, but the canonical URL is the one to index the page for. The Canonical link element is commonly known as a ‘canonical tag’ because of the HTML tag used to create them. Essentially, a canonical tag means to ignore the requested URL as the canonical URL, and use the one listed in the tag instead. This tag is hidden in the HTML of the page (usually in the header) and visitors cannot see it.

Canonical tags are very useful if small URL changes modify the display of content, but not the bulk of the content itself. An example might be a different URL to show different colors of a shirt available on an e-commerce site – the shirt is the same, but the URL may have “?color=red” or “?color=blue” on the end.

5) XML Sitemap Creation Function

An XML Sitemap (also called a Search Engine Sitemap) is a structured file containing a listing of all the publicly-available pages on your site that you would like a search engine to read and index. Often confused with navigation sitemaps – those pages which show all the visible pages as clickable links – search engine sitemaps are not seen by site visitors, but are instead read by search engine robots as they index a site.

Cheap DotNetNuke Hosting OFFER ! Click Here

A Search Engine Sitemap provides a fast way for a search engine to read and understand the structure of a site. It also includes attributes for a page, which give the search engine insight on the relative importance of the page (compared to all other pages on the site) and the frequency of update. Frequency is a suggestion of how often the page should be re-visited for fresh content.

6) No Frames or IFrames

As the Search Engine Watch article says, hosting frames within pages makes it harder, if not impossible, for a search engine to understand a site. The answer for DNN is simple: we don’t use Frames or IFrames anywhere. You can install IFrames if you want, but they aren’t used as part of the application.

7) 301 Redirects, not 302

A redirect is an action that a web server gives when you request a URL that has moved somewhere else. The server redirects the visitor to a new location. The numbers 301 and 302 refer to a status code used to give more context to the redirect. 301 means ‘moved permanently’ and 302 means ‘moved temporarily’. 

When you understand the difference, it’s obvious why search engines will only take action on updating an index if they read a 301 status code on a redirect. The search engines understand that the content for the old URL is now at the new URL, and so any links pointing to the old URL should now be considered to point at the new URL. As each link pointing to the page carries a ranking value, you want to make sure that the value of that link is transferred. This is what a 301 redirect does – and it also makes sure your visitors don’t get lost if they use an old URL.

8) Pagination

This factor relates to the use of the rel=next and rel=prev tags. These tags help a search engine understand when pages of content are part of a paginated results set – where there are multiple pages of content for the results of a search or listing.

DNN doesn’t have a set of paginated results as part of the standard product. The search feature of the site uses dynamically loaded content instead of URL-paginated results. However, the extensibility model of DNN means that you can write whatever feature sets you use, and modify the output HTML to include pagination tags.

9) Custom Alt Tags

An ‘Alt’ tag is the text description attached to an image on a page. These are used by search engines to understand the contents and context of an image on a specific page. The Alt tags are used not only to index the images on a page, but also as a way of weighting the content of the entire page. Alt tags carry ranking weight because typically an image on a page is highly relevant to the content on that page.

10) Breadcrumb Navigation

Breadcrumb navigation is the practice of leaving links (typically in the header of a site) which give the visitor visual feedback on where they are within the site. This gives them an easy ‘breadcrumb’ to follow back to the higher levels of content and also provides context of the current page. 

Like CSS menus, breadcrumbs are an entirely customizable part of DNN. The standard skin that comes bundled with DNN 7 includes breadcrumb navigation based on the names of the pages. But it’s easy to change this to something else, or to write your own breadcrumb system yourself. This is all done through the magic of skinning – where you can change the appearance and behaviour of a DNN site without changing the underlying system code.

Simpan