I’m a novice php/mysql developer and need some help.
I was working on a project with a .NET developer. He built a URL redirecting function in .NET that uses the ? in the URL (eg, mysite.com?123 redirects to www.realsite.com. This developer has now disappeared on me and I no longer have access to the server.
I need to move my domain to a new server and recreate this functionality in php/mySQL. I have about 40 urls that I need to support using this technique (they’re embedded in QR codes). I don’t need a solution that generates new redirects this way – I’ve got a different solution going forward.
My new server will be on bluehost.
Many thanks to anyone who can help me.
To replicate the original setup you dond’t need to involve PHP at all. You can accomplish this at the server level using some
RewriteRules:See also http://wiki.apache.org/httpd/RewriteQueryString