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]`
If you are using mod\_rewrite then it is your rules that are broken. Either the query string is not being passed, or the mod\_rewrite is discarding everything past **/topic**.

Try adding a rule that you can do: **www.example.com/folder/topic/2**