Good afternoon,

I have just purchased a domain. It has quite a few old URLs that I would really like to redirect to the sites index to prevent 404s.

I'm fine redirecting normal pages with a .htaccess, but there is one troublesome URL that is really giving me a headache.

The URL i want to redirect to the index is:

/cgi-bin/pages.cgi?143205747

I tried just redirecting the cgi-bin with the .htaccess but was still left with:

/?143205747

In honesty, that's no good for me, and isn't an improvement on the original URL.

I'd be grateful of any help or advice to help me get the troublesome URL to redirect to my index.

Thank you for reading my thread, I hope someone can help