I’ve been working on a personal business site of mine (I’ll post the link once I’m done), it has been listed in googles index recently and to my surprise I’ve forgotten to optimize the urls on the site and only got the main page indexed. Google ignores everything after the ? for example, http://johny.org/index.php?post=2&bla=3, in this url google will only index http://johny.org/index.php and everything after the ? will be ignored. This is bad if your pages are dynamically generated (like most new websites).
To fix this, you need to create a new file on the root of your website and name it “.htaccess”. In this file we will put the redirection rules. This is what mine looks like
RewriteEngine on
RewriteRule ^montreal/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)\.html$ index.php?cat=$1&page=$2
The first line is required to enable rewrites.
The second line is the rule I’m using for the redirects, it looks complicated but it’s actually very simple! RewriteRule has 2 parts, the first part, the from part, “^montreal/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)\.html$” is to tell apache that if you get a url which looks like this, redirect it to the second part, the to part, which in my case is “index.php?cat=$1&page=$2“
The links on my page are **.com/montreal/category_example/page_example.html so when someone clicks on it, apache will redirect them to **.com/index.php?cat=category_example&page=page_example. In the from part I have 2 variables which are alpha-numeric, I’ve defined them by “([a-zA-Z0-9_-]+)” (from a-z, A-Z, 0-9, _-]+)) the variable ends as soon as a character is reached which is not in the range I’ve defined, in this case it’s the ‘/’, then the second variable starts which is for the pages. As you can see in my case, I’m mainly targeting clients from Montreal, that’s because my main clientele is from there and this keyword inserted in all my links will give me a fair amount of boost in the search engines for the “montreal” keyword (which is a must have in my case).
Hope this helps someone out, let me know if you need any help

I recently changed my home network configuration, because of some weak wifi spots and I was amazed to see that my Jamin was going nuts from the change! Although I was able to ping it from within the network, I wasn’t able to access the internet from the pocket pc. At first I thought the board might be going bad, but the fact that the I was able to ping it from my laptop gave me some hope. Therefore I started to mess around with the settings of the router, I removed wep, the problem still remained, I removed dhcp, again nothing, then I searched for the latest firmware, installed and nothing… The last thing that popped in my mind was to make the network only work on G mode instead of mixed mode, and that finally got it working again. I’m not sure if the imate Jamin is only compatible with G mode, since it clearly states that it supports B and G modes, but if you own a D-Link Wireless Router (mine is DI-524) and you’re having problems connecting to the internet, try this and it might work!
