Question: I'm changing my site to show friendly URLs like this:

```
www.example.com/folder/topic

```

Works fine!

But when I add a parameter to the URL:

```
www.example.com/folder/topic?page=2

```

`$_GET` stops working. It doesn't recognise the parameter at all. Am I missing something? The parameter worked fine before using full URLs.

Answer: 
If it's a mod\_rewrite problem, which it sounds like, you could add the `[QSA]` flag to your mod\_rewrite rule, to append the query string to the rewritten URL instead of throwing it away.

Your rule will end up looking like:

`RewriteRule from to [QSA]`
> 
> I'm changing my site to show friendly URLs
> 
> 
> 

Are you doing this using [mod\_rewrite](http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html) or by reorganising your file structure? If the former, it's likely that your rules may need tweaking.

If it's a file re-organisation, what do you get when you `print_r($_GET)` in `www.example.com/folder/topic?page=2`?