Posts tagged ‘seo’

Unlimited Google Adwords for a Fixed Fee – Not!

Google Adwords logoA client was approached the other day with an offer that sounds too good to be true. Well guess what, it is!

For more information, Webphoria (a UK web development company) has the story of the AdWords scam, and James from Online Media Direct checked it out the story with Google.

If you are approached with such an offer, make sure you check out the facts. We’ll be quite happy to do so for you if you wish.

UPDATE:

And the muppet is… http://www.polepositionmedia.co.uk/ just in case you were curious!

Using Apache mod_rewrite to redirect old URLs

Apache LogoThere are lots of examples and tutorials covering Apache and mod_rewrite, but generally they address the problem where you want to map a ‘nice’ url to your script. For example:

http://example.com/products/kitchen/cutlery

to

http://example.com/products.php?category=kitchen&sub-category=cutlery

is easily achieved with the following .htaccess rules:

RewriteRule ^([A-Za-z0-9\-]+)/([A-Za-z0-9\-]+)/([A-Za-z0-9\-]+)/? /one.php?action=$1&category=$2&subcategory=$3 [L]

However if you want to rewrite in the other direction it might not be immediately obvious that you cannot use rewrite rules with your GET URL variables. So if you want to go from

http://example.com/products.php?category=kitchen&sub-category=cutlery

to

http://example.com/products/kitchen/cutlery

you need to sniff the query variables as well as the script name.
Continue reading ‘Using Apache mod_rewrite to redirect old URLs’ »