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 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**
> 
> 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`?