On my website i have a list of items, each item has a link, the link has one parameter named "ID":
<a href="go?id=2">item</a>
When i generate the list i don't know the exact url to the item, for example it could be too expensive (lots of queries to all kind of resources) to figure out.
When to user clicks the link "go?id=2" the server figures out the exact url and sends the user to that url with a redirect code 301. This will always be the same url.
I was wondering if i'm using the correct http code for my case? Mainly because while doing research i discovered more redirect codes than the usual 301 and 302.
/content-2