Permanent Redirection with HTTP 301 using PHP

When you change your existing website on a new domain, you would be thinking to redirect all pages with their respective pages on a new domain.

For example, you would be needing. =>

When someone opens, they should be automatically redirect to This thing has 2 benefits.

1. Search engines like Google easily find that your website has moved to a new domain.
2. It is convenient for visitors to read the same content if they have bookmarked your old website url.

Furthermore, if you have more than one domains for a same website (most probably for the corporate websites, you might have booked all famous extensions such as .com, .net, .org, etc)

$httphost = $_SERVER[‘HTTP_HOST’];
$scriptname= $_SERVER[‘REQUEST_URI’];
$tourl = “” . $scriptname;
if($httphost != “” && $httphost != “”)
header(“HTTP/1.1 301 Moved Permanently”);
 header(“location: ” . $tourl, true);

Read More

How to improve performance of IIS on symantec SMP

Some NS performance tips

Before consider the ideas to improve the performance mind what the SMP Implementation Guide says:

  • Symantec does not recommend that you install SQL Server on a virtual
  • When Notification Server is installed on a virtual computer, the data loader
    show performance degradation (approximately 25%).

Some ideas to improve the SMP performance

  • Improving IIS and Notification Server response times by disabling debug mode using disableweb.exe. Article URL Download the, extract, and execute disablewebdebug.exe /fix.
  • Defrag regularly the drives of your SMP Server and SQL Server to have a better I/O.
  • Creating a maintenance plan in SQL Server 2005 or 2008 to optimize database performance: Article URL
  • On the SQL Server set Windows’ memory usage to favor Programs over System Cache. SQL Server does its own data caching to improve performance, and the more memory reserved for its use, the more efficient its caching can be. Article URL with a lot of SQL server performance recomendations.
  • Agent configuration schedule to 03 or 04 hours.
  • Delta resource membership update schedules to 30, 45 min or 1 hour.
  • Policy resource membership update schedules to 30, 45 min or 1 hour.
  • Task Service update schedule to every 15 minutes.

Read More

25 Ways To Increase Your Online Sales

This is the last part of the Revisitors “5 Ways To Boost Your Website Sales” course. In this message, I’ll publish a list of 25 MUST-DOs to get the ultimate online success. Enjoy!

1: Let people know about your affiliate program. Submit it to numerous affiliate program directories, announce it in your newsletter, put it in your signature file, etc.

2: Tell your visitors exactly what you want them to do at your web site. You may want them to order products, subscribe to your newsletter, etc.

3: Focus your site on your visitor’s desires, not on yourself. They want to know what’s in it for them!

4: Try not to get caught up in loading your site with technological gizmos and gadgets. Concentrate on your words,
they will do the actual selling.

5: Create your own ad copy; don’t copy the basic run of the mill ad copy. Don’t be afraid of trying something different to increase your sales.

6: Change you ads regularly. Your prospects can get bored seeing the same ad all the time. They usually see the ad 7 times before they actually buy.

7: Lower your negative word of mouth marketing. You’ll always have customers that are dissatisfied. Try to please them as much as possible.

8: Give people a deadline to order. Tell people if they order by Feb 28, 2011 they will get a discount or free bonuses. This creates a sense of urgency so they don’t put off buying.

9: Offer people a money back guarantee. The longer the guarantee the more effective it will be. It could be a 30 day, 60 day, 1 year, or lifetime guarantee.

10: Have some business cards printed up with your web site address and other business information. Pass them out to people you meet or that might be interested in your business.

11: Have a magnetic sign made with your web site address. Place it on your car door or roof when you are traveling.

12: Have some flyers printed out with your web site address. Keep a few with you to hang on bulletin boards you may come across in your travels.

13: Have some pens imprinted with your web site name. When you are done filling out your check or signing receipts leave it there for the next person to use or keep.

14: Have some mugs imprinted with your web site address and other business information. Use them when you have company or give them away to friends as gifts.

15: Write your ad copy like you’re talking directly to your visitors. Use the words “you”, “your”, and “you’re” a lot in your ad copy.

16: Create a free ebook directory on a specific topic at your web site. People will visit your web site to read the free ebooks and may see your product ad.

17: Place colorful graphs, pie charts and other charts in your ad copy. Use charts that will grab a persons eye and also support your product claims.

18: Highlight buying incentives like free bonuses and money back guarantees. You could place them in boxes or in front of a different colored background.

19: Use short sentences or sentence fragments in the body of your ad copy. A short burst of words can catch a skimmers eye with one quick glance.

20: Highlight all the important keywords and phrases in your ad copy. You could use bolding, underlining and color to highlight the important words.

21: Use a headline that catches the attention of your target audience. One of the most effective ways is to use a free offer as your headline.

22: Use attention grabbing adjectives to describe your product. For example sizzling, high power, killer, eye popping, etc.

23: You could create a new market for your existing product. For example, if you’re selling plastic bottles to a pop company, you could turn around and sell those bottles to a fruit drink company.

24: Offer a free trial or sample of your product. This increases the perceived value because people think you’re confident in your product, so it must be good.

25: Package your product with a lot of bonuses. This increases the perceived value because people feel they are getting more for their money.

Read More

How To Segment Your Leads For Effective Marketing

Traditional email marketing automation has not been much successful. Why? The reason is almost 25% of your leads expire every year. There is no reason for anyone to limit yourself to the lead information you get from your email subscription form. The best ever information you could get from your leads is the behavior of the leads and the actions taken by them. Basically, segmentation gives you the way to target the leads effectively.

Some people regularly and actively participate in various social networks such as facebook, twitter, linkedin, etc. Hence, you should consider putting the campaign based on the social networks.

Always get the lead’s geographic information from the subscription form field or based on the IP address. You should make a campaign that comes from your local representative. You can make the announcements about the physical events in near-by. This shows the local interest.

Split your leads by how they interact with your website. Direct your blog visitors to further blog contents. Targeting the people who often visits the product pages. Offer them a demo or trial.

There is no reason to use the marketing segments in a single channel. Create a segments that bridge multiple channels. e.g Twitter, facebook & blog.

Read More