Archive for the ‘Search Engine Optimization’ Category
Wednesday, September 27th, 2006
This guide has been written to help you get started in Google Adwords and save you time and effort on initial research.
You may already be familiar with the ins and outs of Google search results. However, just in case you aren’t familiar where ads appear, Google’s paid ads appear separately in the search results on the right hand side of the screen and in some instances at the top of the screen. For example let’s use one of the most competitive terms for paid ads, “search engine optimization”. As you can see below, the #1 ad pays the most for your click and #2 second most and so on to the last paid ad paying the least.
Google AdWords can provide an inexpensive advertising venue for you to increase your leads. However, you need to do your research to ensure you achieve a positive ROI – Return on Investment. There are some simple guidelines to follow to save you landing in some pitfalls and wasting a lot of money.
Benefits to AdWords
As mentioned earlier in brief, advertisers bid on keywords, the more an advertiser is willing to pay the higher the likelihood the ad will appear higher in position in the list of ads served. Google, invariably wanting to make the most from advertisers, determines placement based on a combination of click through rate, bid amount and budget. Of course, in order to maximize revenue and please searchers Google does have editorial-guidelines for ads served and all ads must receive a minimum percentage click through or they are removed.
AdWords Guidelines
Clearly and accurately describe the website; this is to the advertiser and searchers benefit. Ultimately, the more qualified the visitor who clicks the ad, the higher the likelihood the clicker will convert into a lead. By providing clear and accurate information, searchers who click the ad are qualified leads, which tend to convert more consistently than unqualified leads. The most effective advertising communicates a clear message to a targeted audience. Avoid excessive capitalization, superlatives and lavish exclamation marks in the ad. By doing this you are not only serving the visitor you are filtering unwanted clicks from non-buyers. Due to space limitations your ad message will need to be concise. Select keywords that are relevant to your product, service or content. Call to action phrases are not allowed (i.e. you cannot use phrases like “click here” in your ad copy.) There are also no pop-ups.
Google AdWords Getting Started – The Basics
While Google AdWords should not be your only advertising campaign, managed correctly it can be a significant part of your campaign. Google AdWords can certainly help send those important targeted searchers to your website.
Author Bio
Elixir Systems is a full service search engine marketing company specializing in organic search engine optimization services, online public relations management and paid search or PPC management. For more information visit Elixir Systems
Posted in Search Engine Optimization | No Comments »
Wednesday, September 20th, 2006
SEO tools are useful and can help you to develop and refine your campaign. We offer a variety of free tools that can help you keep your SEO on track.
Link Popularity Checker and Link Quality Assessment
This is a great tool to help you analyze the links to your site. Links play a vital role in good organic search engine rankings. Not only is link popularity important, the quality of those links is also very important. Use the free Link Popularity Checker and Link Quality Checker tool to find out the necessary statistics on your links and your competitor’s links.
The tool includes information on inbound links, deep links, directory links, and your search engine indexing statistics.
Add a link to this useful tool from your own site by adding the following code:
<a href=”http://www.elixirsystems.com/tools/linkpopularity.php”>Link Popularity Checker and Link Quality Assessment Tool</a>
Use the tool to look at your current statistics and the statistics of your competitors now.
Social Tagging Tool
Social tagging is creating a buzz as a way to create publicity for your sites content and increase your inbound links. However submitting your information to these sites can be time consuming and hard work. We have made it easier for you! Use this tool to automatically submit your content.
Add a link to this useful tool from your own site by adding the following code:
<a href=”http://www.elixirsystems.com/tools/sociable/”>Social Tagging Tool</a>
Or even use the tool to allow users to tag your site:
<a href=”http://www.elixirsystems.com/tools/sociable/?URL=www.yoursitename.com”>Tag This Page</a>
Use the tool to submit your site to social tagging sites.
WhoIs Lookup and Monitor
Check on the current whois information for other sites. This will give you the owner of the domain name and contact information. It can also be used to compare current information with previous records.
Add a link to this useful tool from your own site by adding the following code:
<a href=”http://www.elixirsystems.com/tools/whois.php”>WhoIs Lookup and Monitor Tool</a>
Use the tool to look at whois information of your company and your competitors now.
Posted in Search Engine Optimization | No Comments »
Thursday, July 13th, 2006
What are they and how do you use them on your website?
By Dylan Downhill
Originally authored: 10 May 2004
Update: 13 July 2006
Below is a collection of the most useful tags found in a document <HEAD> section. It was inspired by an article I read that mentioned some of these tags but didn’t say why you included them, what they did and what options were available for the tag.
As background, meta tags were originally included to aid early search engines to summarize and categorize web pages correctly. Unfortunately everyone figured out that by optimizing their meta tags they could receive better rankings. As more sites started using over-optimized (spammed) meta tags, their usefulness for categorizing web pages diminished and most of the major search engines now treat them with little importance in their rankings.
This might seem the death of meta tags, however they have been extended and expanded through HTML 4.0 and still serve a purpose, though most are not for ranking in the SERPs.
TITLE Tag
This tag tells the search engines what your page is all about. It is probably the most important tag in the <head> section of your document. This field is often displayed in search engines results so should provide a good overview of the page (and of course have your main keyword in it).
<TITLE>Red Widgets for Sale</TITLE>
HTTP-EQUIV Tags
META tags with an HTTP-EQUIV attribute are equivalent to HTTP headers. Typically, they control the action of browsers, and may be used to refine the information provided by the actual headers. Tags using this form should have an equivalent effect when specified as an HTTP header, and in some servers may be translated to actual HTTP headers automatically or by a pre-processing tool.
<meta http-equiv=”Content-Type” content=”text/html;charset=iso-8859-1″>
This describes the language and format the document is in. Type indicates the type of content within the document (i.e. HTML, XML, etc). The charset indicates the character set. This meta tag is meant to override the content type preconfigured in both the server and the browser, however this does not always work as expected.
<meta http-equiv=”expires” content=”0″>
The date and time after which the document should be considered expired. The date field should read ‘Mon, 10 Apr 2004 14:32:39 GMT”. An invalid value (such as ‘0′) will be taken as meaning expire immediately and is useful to stop a browser caching a document.
<meta http-equiv=”Content-Style-Type” content=”text/css”>
Specifies the default style sheet language for a document.
NAME Tags
Intended for the search engines to read and index, the following tags should always be included
<meta name=”distribution” content=”global”>
Ensure any page you want seen by the searching public is global.
| Value |
Description |
| Global |
Appropriate for web access. |
| Local |
Web servers will not service a “local” document to the web. |
| IU |
Internal use - Intranets. |
<meta name=”author” content=”name”>
Who owns the site, or who designed the site. Set “name” to the name of the author of the document. Separate multiple authors with commas.
<meta name=”copyright” content=”Copyright 2004 www.ElixirSystems.com”>
Copyright information.
<meta name=”description” content=”text”>
Include your description of the site or page in the “text” field. To maximize your search engine ranking, be sure to use keywords within your description, but do not overstuff.
<meta name=”keywords” content=”keywords, another keyword, 2->4 keywords “>
For more information on keywords see the articles in March and April 2004.
<meta name=”robots” content=”noindex, nofollow, noodp “>
Tell the search engine robot to index and follow your document, this doesn’t mean that it will, it just gives the spiders permission.
| Value |
Description |
| follow |
Follow all links on the page (default) |
| nofollow |
Use this for pages which you want indexed, but you don’t want the linked to pages indexed. |
| index |
Index this page (default) |
| noindex |
Do not index this page. |
| noodp |
Do not show the DMOZ.org title for this page. See notes below. |
One source the search engines use to generate titles and descriptions they show in the search engine results is DMOZ - the Open Directory Project, or ODP. Sometimes this results in less than enticing results being displayed. By adding the ‘noodp’ robots tag to the top of your files the search engines that support this tag will not use the DMOZ title and descriptions.
<meta name=”revisit-after” content=”30 days”>
This tag is not used by any search engine and should be avoided. Most of the major search engine spiders will index a page depending on the frequency of update - if you want a page indexed more often then update it more often.
<meta name=”rating” content=”text”>
Use “text” to indicate the rating of the site.
| Value |
Description |
| 14 Years |
PG-13 |
| General |
PG |
| Mature |
R rated |
| Restricted |
X rated |
| Safe For Kids |
G |
Useful Template
To save you cutting and pasting the above individually, below is everything together with the most useful options set and in their suggested order:
<title>Red Widgets for Sale</title>
<meta name=”description” content=”Description”>
<meta name=”keywords” content=”keywords”>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<meta http-equiv=”Content-Style-Type” content=”text/css”>
<meta http-equiv=”expires” content=”30 days”>
<meta name=”author” content=”Dylan Downhill”>
<meta name=”copyright” content=”Copyright 2006 www.elixirsystems.com”>
<meta name=”distribution” content=”global”>
<meta name=”rating” content=”Safe For Kids”>
<meta name=”robots” content=”noodp”>Introduction to the most common HTML meta tags, their uses and their common attributes. Extended to include the new noodp tag.
Posted in Search Engine Optimization | No Comments »
Friday, January 27th, 2006
The Opportunity
It has been well documented that consumers use search engines to research and buy products online. They read reviews and descriptions, analyze ratings, and research pricing as they compare products and vendors. A successful e-commerce site must offer a positive customer experience and build trust. However, in the nitty-gritty world of online retail sales, probably the most important success factors are the accessibility of the product and price.
It follows then that high rankings in the search engines are essential to the success of an e-commerce site, because high rankings make the products more accessible to the online shoppers. The site should rank highly not just for the general keywords that describe the business, but, ideally, all of the words that describe the products sold on the site.
The Challenge
There are two primary methods to achieve high rankings in search engines. One is to optimize your website naturally, i.e. organically, so that search engines rank it highly for your important terms on their search results pages. The second way to achieve high rankings is to buy Pay-Per-Click (PPC) ads that appear on search results pages. .
Which method drives the best traffic for online retailers? According to a recent study conducted by Jupiter Research and presented at the Search Engine Strategies New York Conference in March, 2005, “6 out of 7 clicks from the organic listings as opposed to Pay-Per-Click listings.” .
Clearly, high natural listings in the search engines are key for a successful e-commerce site. .
In spite of this fact, many online retailers still focus exclusively on PPC advertising to drive traffic to their sites. The explosion in the popularity of PPC advertising for e-commerce sites is likely due to a variety of factors, including the ease of setting up campaigns, competitive peer-pressure, and the ease of budget approvals based on the lure of quicker returns on ad spend. The rewards of organic site optimization, although greater than PPC, appear over a longer period of time. .
For an e-commerce business, a PPC-only strategy is a short-sighted solution that has known pitfalls, too. As competition increases, PPC ad prices also increase, which erodes profit margins and forces the e-commerce business owner to increase their PPC budgets just to keep up. .
Many experienced SEO practitioners have problems optimizing for online retail sites because they lack the necessary programming skills to optimize dynamic pages from shopping cart software. Un-optimized dynamic pages are often invisible to search engines. To compound the problem there are hundreds of different types of shopping cart software, each of which has different optimization requirements. .
The Solution
To successfully optimize an E-Commerce site for search engines requires specialized techniques and processes that are above and beyond regular optimizations performed for non-commerce sites. .
These include: .
- Development of web server output filters that enable Title and Meta tag reconfiguration even if the shopping cart application doesnt allow it. These filters can be applied to PHP and IIS with amazing results.
- Implementing sitemaps that allow search engines to index the entire site, even when cookies are required to access certain parts of the site.
- Optimizing product and page titles and descriptions to match the phrases that consumers actually search on. For example an online store in Thailand was selling Kaw Kwy statues. After research it was found this phrase was not a popular search term. Further investigation found a more common search term for Kaw Kwy - Fake Ivory. After changing the product names, titles, and descriptions, the client started being found for his products and selling them.
- Develop product feeds to the major shopping engines such as Froogle, Yahoo Shopping, and BizRate to ensure maximum exposure for the products at prices far below current PPC ad prices.
- Undertake usability research and analysis so you know how people are really using the site and where they are abandoning the site or your shopping cart.
- Implement analytics to understand traffic, reporting and visitor conversion patterns.
- Implementation of other SEO tools such as paid inclusion (including Yahoos SiteMatch) to increase the frequency of spidering if there is a constant stream of new products to your E-Commerce site.
The Results
Natural optimization for an E-Commerce site can have a truly profound impact on the performance of the website and profitability of the business.
A major supplier of car and truck accessories reduced PPC increased visitors, and profits while reducing their PPC ad spending by $6000 per month. They achieved these results in less than three months by applying web and eCommerce analytics to an existing paid placement campaign, and then applying what they learned from the analytics in their e-commerce search engine optimization strategy. After 6 months their PPC sourced revenue and their organic sourced revenue were equal and their overall advertising spend was decreased by 30%.
A distributor of rugs and carpets, who had previously worked with two other “regular” SEO firms with only minimal success, implemented these e-commerce optimization techniques, and increased revenues 200% — after only three months!
Conclusion
As PPC ad prices continue to rise, savvy online retailers E-Commerce site owners providers need to take a fresh look at how much true success they actually gain from their PPC campaigns, and evaluate (or re-evaluate) possible gains from integrating organic search optimization, too.
Optimizing an E-commerce website is different than optimizing a content-only site. While there are many SEO consulting firms all over the world who can work wonders with regular sites, there are only a few SEO practitioners who have expertise in e-Commerce optimization. Be aware of the difference when selecting a firm to work on your e-commerce site. .
Taking steps now to optimize your E-commerce correctly for natural search engine rankings can increase your profits, and help you gain a competitive advantage over most online retailers who are still using only PPC campaigns.
Copyright © Dylan Downhill and James Peggie.
Dylan Downhill is the CIO and Technical Director and James Peggie is the Director of Marketing for Elixir Systems a search marketing agency located in Scottsdale, Arizona. www.ElixirSystems.com
Posted in Search Engine Optimization | No Comments »
Friday, January 27th, 2006
As on owner of an online business you should have a clear understanding of your markets. This understanding of your markets should always be determined before going into business. How you read your markets and present your products to your customers will determine how successful your business will be. Unfortunately many people start up an online business without researching their markets or having a marketing plan in place.
Traditional marketing theory states that your marketing goal is to deliver the right product at the right price and have it available in the right place. The correct promotion mix must be used to deliver your message to the right people (your target market). You should have all these concepts adapted into a marketing plan before you start up your operations.
A great deal of your online marketing effort should revolve around building your brand name. Whether your brand is your product or your service your aim should be to build trust. Trust and credibility are essential to establishing a relationship with customers. Often the trust that your brand conveys is the only thing that differentiates you from your competitors. Take a look at your site, and your brand, from your visitors point of view. Does it give you a sense of credibility? Remember that having high search engine rankings alone will not give your business any credibility.
The goal of marketing is to make sales. That is the only goal. In the field of Internet marketing it is easy to lose sight this very simple concept. There are so many distractions; high search engine rankings, site traffic, hits, etc.
Search Engine Optimizations (SEO) goal is to give your business visibility within the search engines. However this visibility will not guarantee sales. Exposure alone does not result in sales. There must be a strong marketing campaign behind any visibility to help drive sales. Being top for a search term will mean nothing for your business if you do not make sales.
SEO can be viewed on as publicity for your company. Natural search engine listings can be viewed as editorial public relations placed alongside your paid search advertising listings which are part of an overall marketing direction. This publicity should be part of your marketing plan but it should not BE your marketing plan. Your business should be focused on marketing i.e. getting customers not visitors.
SEO alone does not sell your products or services. It may increase targeted visitors. However even targeted visitors do not guarantee sales. Only your marketing endeavors will bring sales - and increase your profits.
What can you do to help build your online business?
Remember that price alone does not bring sales. Value drives sales, and your value is determined by your brand. If you establish an important and unique brand value then customers will remember it and return to buy your products. Therefore build your brand.
Differentiate yourself from your competition. Customers will look at various sites offering similar products and try to ascertain the differences between one company and another. The differences could feature perceived value, customer service, experience, or website impression. You can look to dominate a specific area of expertise which will establish your unique brand value.
Make sure you site is focused on the customer and dedicated towards enhancing the customer experience. Many websites are built focusing on the company or its products. It is often the case that what a company thinks should be on a website is different that what its customers think should be there. Avoid building a site that is basically a brochure for your company.
What do you do to make your site customer focused? It should be quick to load and easy to navigate. It should have informational content that is relevant to your targeted customers and should be regularly updated. This content should focus on building levels of trust and credibility. Measure how people use your site and constantly look for ways to increase performance.
Successful websites are built on a philosophy of sound marketing strategy not search engine traffic. SEO should be a part of your total marketing strategy not youre only marketing strategy. Your website should be customer focused and you should constantly strive to offer your customers unique brand value which will set you apart from your competition.
Posted in Search Engine Optimization | No Comments »
Friday, January 27th, 2006
Recently there has been a spate of well publicized court cases against SEO companies who have been involved in dubious practices such as making false claims or false guarantees. That is why it is essential to hire an ethical SEO company.
It has become clear that companies operating within the industry must become accountable for what they claim. In terms of search engine rankings it is impossible for an organic SEO company to guarantee specific placement. This is because organic SEOs do not control the search engine rankings. The rankings are controlled only by the individual search engines. Therefore SEO companies must set realistic claims in their communications with clients.
The truth is a guarantee by a SEO company relating to rankings means little or nothing. What the SEO company should be offering is a guarantee that they will work with the utmost dedication and diligence towards getting your site ranked.
In reality that is all that they can guarantee.
Posted in Search Engine Optimization | No Comments »
Friday, January 27th, 2006
Search engine marketing takes two main forms the free listings or organic listings and the paid listings. The strategy of improving organic listings is known as search engine optimization. The paid listings or paid placement allows you to pay to include your listing for a particular search term. Today we will look at how to integrate paid search placement into your search strategy. The paid search market was $2.9 billion in 2004. It is expected to double by 2009. Read more on our Insights into Search for Business blog.
Paid Search Placement and Search Engine Optimization
Paid placement should be an integral part of your online marketing campaign to give your business an increased competitive advantage. Paid placement gives you complete control over where your site will appear in the search engine rankings. This is one of the major advantages of paid placement when compared to organic search engine optimization where the results are determined by the search engine and your site can be left nowhere - which paid placement you get instant high rankings for your search terms in the search engines of your choice.
Paid placement usually takes the form of Pay per Click (PPC). This requires you to pay only when someone clicks through to your site. PPC can be an effective addition to your overall search engine strategy as it can get you off and running quickly.
The main PPC providers, Yahoo!s and Google Adwords use systems based on bidding. Whoever pays the most gets the highest ranking. Adwords differs from Yahoo in that they also use a click-through-rate which rewards high click through rates with better pricing.
As with organic SEO you will need to define the keywords that your audience will use to find your product. Your keywords are an important part of your sales message. Bear in mind that popular keywords will be more competitive and may have higher bids associated with them. This means that you will have to pay more if you use common keywords or phrases. Remember that if you use the wrong keywords you will get visitors that do not respond to your message.
The great thing about PPC is that you can get information and modify your campaign in real time. You can check the effectiveness of your PPC campaign by using the reporting tools that are offered by your PPC provider. This tells you how much business the campaign is bringing you. You can get immediate return on investment information. You can monitor your PPC ads and if they are not effective you can quickly change them. The key is to watch how much you spend and change the ads if they are not working.
Paid placement can be an important part of your Internet marketing strategy. It is a great way to get it up and running very quickly. It also gives you a good insight into how effective your keywords are and an opportunity to try out different ones. Organic search engine optimization is much more cost effective in the long term. (3 months+) SEO also benefits you by giving your site exposure for a wide variety of keyword phrases across many directories and search engines.
If you use PPC with SEO you will find that approximately 60% of your clicks will come from organic searches and 40% from PPC. Therefore neither option should be ignored especially in the field of e-commerce. The two systems can be used effectively together so that you can make full use of your Internet marketing options over a period of time. This will help your business maximize its online marketing efforts.
Contextual Advertising
Contextual advertising refers to a paid ad that is displayed on site page that contains related information. Yahoo!s Content Match and Googles AdSense are the two main programs. This type of advertising is useful in certain situations where your product is closely related to certain types of information. e.g.
Paid Inclusion
Paid inclusion refers to services which list your site in the organic listings for a fee. It does not guarantee high rankings however. You pay to be indexed and to have the spiders regularly visit your site. Paid inclusion is useful if you have a site that constantly updates its information.
Posted in Pay Per Click / Paid Placement, Search Engine Optimization | No Comments »
Wednesday, January 18th, 2006
If you are finding that the www.sitename.com and sitename.com version of your site are both being indexed by the search engines you could hit an issue with the search engines seeing duplicate content - after all most sites have both site names resolving to the same underlying file structure. This can also be an issue for people with parked domains - if you’ve brought multiple domains with the common misspellings of your company name (for example), if the search engines index the parked domain you could have a duplicate content issue. Another issue is having links pointing to the various site names dilutes their value, but pointing them all at just one domain name you’ve got a better chance of higher rankings.
One of the best ways around this issue is to redirect all traffic destined for the domains you don’t want to get indexed to the site name you do want to get indexed. By using a 301 redirect the value of the links will also be redirected to the main site name.
Coldfusion CFM 301 Code
Place the following code into the header of any CFM document and it will redirect the page access to the correct site name. while preserving the script name and the query arguments.
<!-- If the server name is not www.sitename.com we can do the redirect to www.sitename.com.
' The only time we can is if the method is a GET
' (no way to pass along the POST arguments) and its on port 80 (don't want to redirect the SSL).
-->
<cfif CompareNoCase( CGI.SERVER_NAME , "sitename.com") is 0 AND
CGI.SERVER_PORT is 80 AND
CompareNoCase( CGI.REQUEST_METHOD , "get") is 0 >
<cfheader statuscode="301" statustext="Moved permanently">
<cfif CGI.QUERY_STRING IS NOT "" >
<cfheader name="Location" value="http://www.sitename.com#CGI.SCRIPT_NAME#?#CGI.QUERY_STRING#">
<cfelse>
<cfheader name="Location" value="http://www.sitename.com#CGI.SCRIPT_NAME#">
</cfif>
</cfif>
Related
PHP 301 Redirect
ASP 301 Redirect
CFM Coldfusion 301 Redirect
JSP Java Server Pages 301 Redirect
404 Redirect one file at a time
404 Redirect one directory at a time
404 Redirect multiple pages easily
Posted in Search Engine Optimization | No Comments »
Tuesday, January 10th, 2006
Not dumped below are $_SESSION, $_ENV, $_FILES, $GLOBAL, $_SESSION.
For more information on the variables use see here.
$_SERVER
| DOCUMENT_ROOT |
/my/docroot |
| HTTP_ACCEPT |
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/x-shockwave-flash, application/x-silverlight, */* |
| HTTP_ACCEPT_LANGUAGE |
en-us |
| HTTP_CONNECTION |
Keep-Alive |
| HTTP_COOKIE |
__utma=56526719.905094558.1204581256.1209075425.1209143129.11; __utmz=56526719.1208363160.4.3.utmccn=(organic)|utmcsr=search|utmctr=elixirsystems.com|utmcmd=organic; __utmb=56526719; __utmc=56526719; seen_flash=1 |
| HTTP_HOST |
www.elixirsystems.com |
| HTTP_REFERER |
http://www.elixirsystems.com/seo_tips/ |
| HTTP_UA_CPU |
x86 |
| HTTP_USER_AGENT |
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SU 3.011; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2) |
| HTTP_VIA |
1.1 EBSS-WS1 |
| PATH |
/sbin:/usr/sbin:/bin:/usr/bin |
| REMOTE_ADDR |
70.96.173.130 |
| REMOTE_PORT |
32011 |
| SCRIPT_FILENAME |
/my/docroot/seo_tips/PHP_Predefined_Variables.php |
| SERVER_ADDR |
216.126.64.170 |
| SERVER_ADMIN |
webmaster@elixirsystems.com |
| SERVER_NAME |
www.elixirsystems.com |
| SERVER_PORT |
80 |
| SERVER_SIGNATURE |
Apache/1.3.37 Server at www.elixirsystems.com Port 80
|
| SERVER_SOFTWARE |
Apache/1.3.37 (Unix) PHP/5.2.0 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.8a |
| GATEWAY_INTERFACE |
CGI/1.1 |
| SERVER_PROTOCOL |
HTTP/1.1 |
| REQUEST_METHOD |
GET |
| QUERY_STRING |
|
| REQUEST_URI |
/seo_tips/PHP_Predefined_Variables.php |
| SCRIPT_NAME |
/seo_tips/PHP_Predefined_Variables.php |
| PATH_TRANSLATED |
/my/docroot/seo_tips/PHP_Predefined_Variables.php |
| PHP_SELF |
/seo_tips/PHP_Predefined_Variables.php |
| REQUEST_TIME |
1209147519 |
| argv |
Array ( )
1
|
| argc |
0 |
$_REQUEST
| __utma |
56526719.905094558.1204581256.1209075425.1209143129.11 |
| __utmz |
56526719.1208363160.4.3.utmccn=(organic)|utmcsr=search|utmctr=elixirsystems.com|utmcmd=organic |
| __utmb |
56526719 |
| __utmc |
56526719 |
| seen_flash |
1 |
$_COOKIE
| __utma |
56526719.905094558.1204581256.1209075425.1209143129.11 |
| __utmz |
56526719.1208363160.4.3.utmccn=(organic)|utmcsr=search|utmctr=elixirsystems.com|utmcmd=organic |
| __utmb |
56526719 |
| __utmc |
56526719 |
| seen_flash |
1 |
$_GET
$_POST
Posted in Search Engine Optimization | No Comments »
Tuesday, January 10th, 2006
If you are finding that the www.sitename.com and sitename.com version of your site are both being indexed by the search engines you could hit an issue with the search engines seeing duplicate content - after all most sites have both site names resolving to the same underlying file structure. This can also be an issue for people with parked domains - if you’ve brought multiple domains with the common misspellings of your company name (for example), if the search engines index the parked domain you could have a duplicate content issue. Another issue is having links pointing to the various site names dilutes their value, but pointing them all at just one domain name you’ve got a better chance of higher rankings.
One of the best ways around this issue is to redirect all traffic destined for the domains you don’t want to get indexed to the site name you do want to get indexed. By using a 301 redirect the value of the links will also be redirected to the main site name.
PHP 301 Code
Place the following code into the header of any php document and it will redirect the page access to the correct site name. while preserving the script name and the query arguments.
// If the server name is not www.sitename.com we can do the redirect to www.sitename.com.
// The only time we can is if the method is a GET
// (no way to pass along the POST arguments) and its on port 80 (don't want to redirect the SSL).
if ( strcmp( strtolower( $_SERVER['HTTP_HOST'] ) , "www.sitename.com" ) != 0 &&
strcmp( strtolower( $_SERVER['REQUEST_METHOD'] ) , "get" ) == 0 &&
$_SERVER['SERVER_PORT'] == 80 )
{
header("Location: http://www.sitename.com" . $_SERVER['REQUEST_URI'] );
header("HTTP/1.0 301 Moved Permanently");
exit ;
}
Related
PHP 301 Redirect
ASP 301 Redirect
CFM Coldfusion 301 Redirect
JSP Java Server Pages 301 Redirect
404 Redirect one file at a time
404 Redirect one directory at a time
404 Redirect multiple pages easily
Posted in Search Engine Optimization | No Comments »