How to redirect to an easier URL

by Wolf on October 1, 2009

This week I’ve done a big mailout of about 2000 letters to a ceratain customer group. As part of this mailing I’m offering a free sample and I have included simple link in my letter: http://my-domain.com/sample however the real link to get the free sample is: http://my-domain.com/index.php?main_page=product_info&cPath=261&products_id=949.

Ok here’s ho to do it (as an example I’m using the above details, just replace with your details):

log into your site’s cpanel > domains > redirects, setting:

  • Type : Pemanent
  • http://(www.)?: **All Public Domains**/sample
  • redirects to→: http://my-domain.com/index.php?main_page=product_info&cPath=261&products_id=949
  • www redirection: Redirect with or without www.
  • click [Add]

and all should be fine. Don’t forget to test however.

Post to Twitter Tweet This Post

  • Share/Bookmark

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

{ 1 comment… read it below or add one }

Wolf October 1, 2009 at 4:08 pm

On some older versions of Cpanel it might not allow you to re-direct to a URL that includes an ‘?’. Such as
http://budgethandles.com.au/shop/index.php?main_page=product_info&cPath=1&products_id=372
if you need a solution for this then add a comment here and I will post a solution for that instance as well

Leave a Comment

Spam Protection by WP-SpamFree

Previous post: How to avoid broken links in emails

Next post: Warning: Is your WordPress Blog being indexed by Google?