Recently I was building a site that used common search engine optimization practices of using named directories instead of pages with .aspx or .html extensions. I also was using nested master pages. This is why. Here is a brief structure of the site.
Home
Services directory
Tax directory
Property Tax directory
Specialties directory
Business Tax directory
Facilites directory
Contact directory
For the Services and Specialties directory I used the nested master pages due to each section having different sub navigation. Because the nested master pages and the pages in the directories are not in the same directory as the main master page the links to the images did not work. I needed to find a way for the links to always work no matter what directory the pages were in. This is the code I found from msdn.com
<%=System.Web.VirtualPathUtility.ToAbsolute("~")%>/directory/default.aspx
It can be used for mapping the path to images or mapping links.
a href="<%=System.Web.VirtualPathUtility.ToAbsolute("~")%>/directory/default.aspx"
img src="<%=System.Web.VirtualPathUtility.ToAbsolute("~")%>/images/pic.gif"
Search
Saturday, February 13, 2010
Friday, January 8, 2010
Thursday, January 7, 2010
Email Marketing: New Devices Mean New Tactics - MarketingVOX
Increasingly email marketing messages are being read on screens other than the 19-24 inch-sized monitor of a typical desktop. Marketers now have to take into account the growing number of people who check email via smartphone - which have screens typically sized at 2-4 inches.
Read the full article at marketingvox.com Email Marketing: New Devices Mean New Tactics - MarketingVOX
Read the full article at marketingvox.com Email Marketing: New Devices Mean New Tactics - MarketingVOX
Wednesday, January 6, 2010
Google Toolbar PageRank Updating for New Years 2010
Mountain View, California -- Google PageRank toolbar updates typically takes place four times a year, the last Google update that occurred during October created a kerfuffle in the search engine optimization industry, as not many people were sure if it would actually happen. But for those who admire Google's often delayed toolbar PageRank, Google is giving you all a nice New Year's Eve present -- the annual page rank update.
The toolbar can give a page rank update to those who have installed it on Internet Explorer and Firefox browsers, and offers a snapshot of current live ranking behavior happening to the site you are currently viewing. Results on the toolbar are evaluated from 0 to 10, with 10 being an indicator for the most popular web pages and 0 showing poor ranking behavior.
Posted using ShareThis
The toolbar can give a page rank update to those who have installed it on Internet Explorer and Firefox browsers, and offers a snapshot of current live ranking behavior happening to the site you are currently viewing. Results on the toolbar are evaluated from 0 to 10, with 10 being an indicator for the most popular web pages and 0 showing poor ranking behavior.
Posted using ShareThis
Subscribe to:
Comments (Atom)