You are here:   Support > User Forum
Register   |  Login

Invenmanager User Forum

Minimize
Article Title in Page Title?
Last Post 18 Jan 2010 10:59 AM by Ian Symonds. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Ian Symonds
New Member
New Member
Posts:2

--
11 Jan 2010 03:19 PM  
Hello

For SEO purposes, I would like to insert the Article Title in the HTML <title>.

I can do this via Javascript for sure, but for SEO, search engines actually check the article title text, and not the title contents (modified after pageload) in the DOM. It's more preferable to add the text via the server than the client.

Specifically, I have modified the default.aspx.vb to set the page title to "PageName : PortalName"
Title = PortalSettings.ActiveTab.TabName + " : " + PortalSettings.PortalName

This works fine for most pages in the site, but the articles page has the same title as the news listing page. (It's the same page).
As I don't have the source code for Advanced Articles, it's not an option for me to set the page title there.

I was wondering if there's a way to modify default.aspx.vb?

[pseudocode]

IF (I'm writing a news article)
THEN
Title = AdvancedArticles.NewsArticleTitle + " : " + PortalSettings.PortalName
ENDIF

[/pseudocode]

Or perhaps by some other means I had not thought of.

Thanks!
Ian Symonds
http://www.tourismnt.com.au/



Inven Manager
Senior Member
Senior Member
Posts:6761
Avatar

--
12 Jan 2010 02:10 PM  
Ian,

You mean the article detail page, right?

It is a good idea and we are thinking along the same way.

You will have it very soon when we release a new update. Thanks
========================================
Delivering high value DotnetNuke Modules to save your time and resources
Ian Symonds
New Member
New Member
Posts:2

--
18 Jan 2010 10:59 AM  
Hi

Yep, exactly that, on the article detail page.

I'll keep an eye out for it when you release the update.

Thanks for getting back to me.
Ian
You are not authorized to post a reply.

Active Forums 4.1