Overcoming Duplicate Content by using Server-Side Optimization


Recently while working on www.rozoil.com , a Connecticut heating oil company website we encountered some interesting errors in the original developers coding.

Turns out they were using a database driven price calculator that would update the daily oil price through an administrative panel.

What was happening is that Google and the various other bots were caching a PHP session ID that was being set in addition to the cookie. Obviously our friend Google isn’t 100% good yet with handling session id’s.

Why do we disable the PHPSESSID?

Someone comes to the page with their cookies disabled in their browser, PHP would automatically add a PHPSESSID into the URL (uniform resource locator) of every page this is their way of managing and maintaining the state between pages.

Search Engines spider a website without cookies so they will see this PHP session id and overcount URL’s in many cases.

FOR THE USER:

A user wont remember www.mywebsite.com/sitepage.php?PHPSESSID=4852409589245804809 but they will remember www.mywebsite.com/sitepage.php


FOR THE ENGINE:

Unless you want your pages to end up in the supplemental index when you show your session ID blatent in your URL querystring it makes computer hackers job of compromising your session easier. In cases where the code isn’t strong you can even have a session be shared between more then one browser.

In the days where many browsers disabled cookies they were very needed but with people surfing compliant pages from their iphones and everything pushing towards the post web2.0 bubble I think its fair to say we can use cookies, and I don’t mean chocolate chip though that is my favorite I mean the browser kind.


What we Did:

The below information only works if you are using an Apache Webserver.

Place the following lines in your .htaccess file.

php_value session.use_only_cookies 1 

php_value session.use_trans_sid 0

I hope you found the below information to be helpful and if this doesnt make sense (like i figure it won’t cause i’m a terrible writer then just shoot me an email and i would be glad to help


Bookmark and Share






What is Web 2.0 and the buzz surrounding it


So yesterday I gave a presentation to the Entreprenueral Womens Network in Norwalk Connecticut discussing various online marketing mixes and how they can help build a business online. One of the big questions I was getting was what is Web 2.0. I decided due to the interest in this question I would compile a short article about it.
When the buzzword Web 2.0 first hit us it was used to substitute the term Semantic Web. To many, Web 2.0 strikes them as a new internet and is a brand new concept. While in fact many are already throwing around the term Web 3.0 and other catchy names such as Folksonomy.

The actual phrase itself is believed to have originated in a brainstorming session between O’Reilly and Media live International according to Tim O’ Reilly. (link to article)

Prior to the rise of social networks and dynamic content rich websites the older pages on the internet now referred to as “Web 1.0″ consisted of static Html pages.

As the Internet became a much sought after medium to search for data and interact with one another social networking websites such as myspace.com, digg, shoutwire, del.icio.us and the facebook became very popular across the web.

Many see the web going in the direction of a full service computing platform serving web applications to end users in a way that only desktop applications (software) was able to do up until now. Interacting with websites using “drag and drop” and other desktop application style interaction can be largely attributed to the rise of usage of AJAX. Ajax stands for Asynchronous java script and XML. Up until now because browser technology was too far behind and though the technology which has been around for some time it wasn’t able to be efficiently utilized. The term AJAX was actually coined by Adaptive Path, who is believed to be the first to use the term.

What AJAX does is uses java script to send requests to the web server without causing a full reload of the web page. The drawback to Ajax is that Microsoft’s internet explorer and other web applications handle it their own way. Safari, Firefox, Camino and Opera use a standardized method known as XMLHTTPRequest object while Microsoft Internet Explorer utilizes a technology called active X. Additional examples of successful implementations of Ajax powered applications can be seen by taking a peek at any of the many google applications such as docs.google.com, mail.google.com, and calendar.google.com. These web applications exemplify just how rich the user experience has become. Ajax has allowed these online applications to mimic popular proprietary applications such as the popular Microsoft Office suite.

Continuing down the rabbit hole a bit further you often hear the terms “Rich Media” and “RSS” getting thrown into the hype surrounding the web 2.0 buzz. While there is a great deal to be said about the advancements in Flash and Browser technologies it is important to consider that Ajax, Adobe Flex and OpenLaszlo are newer more robust forms of the familiar Javascript programming language.

Last but surely not least I want to cover RSS and how it truly fits into the web 2.0 bubble. RSS stands for Really Simple Syndication or “web syndication”. The various forms of RSS such as Atom and RDF are a mixture of XML.

To further illustrate RSS I ask you to consider the following analogy. Imagine a news stand in the morning at your local Coffee Spot. There are many papers each with their headlines bold faced to be read in more detail. RSS doesn’t differ far from this. Sites offering RSS Feeds allow your web browser or RSS reading software to grab headlines and content from several websites and display the headline for your viewing or discarding. Say for example you are interested in reading the latest technology and tech talk but desire to also have your daily news all in the same area. Websites displaying one of the many RSS icons let you know you can subscribe to their Feed.

My personal favorite of RSS readers is Google Reader at the moment. It offers a simple interface which can be easily understand by the masses. Being a Google advocate I try to support their new wave of beta applications and while there are many Rss reader applications out there I gotta stay behind the king of simplicity, Google.


Bookmark and Share






Promotion World Article: Building Blocks of Web Design


I recently was published on promotion world you can visit the article at http://www.promotionworld.com/articles/se/articles/Internet_Marketing_Strategy/080305theblueprintfor.html


Bookmark and Share






random ramblings here


random ramblings here


Bookmark and Share






Peter Sena blog launch.


So i finally got around to launching this blog. lets see how often i can update it.


Bookmark and Share






Fairchester Business Resource


we spoke at the Fairchester Business resource group and gave a presentation on the right marketing mix for your online marketing strategy. you can visit the article on their website by clicking here


Bookmark and Share