aeboi80 — 2011-07-30T15:04:22-04:00 — #1
We plan to move our site which is myolddomain.com/index.php?id=something to newdomain.com/aff/index.php?id=something
Is there a way to do 301 redirect with a wildcard which would keep the $_GET variable in the URL intact?
dklynn — 2011-07-30T20:51:32-04:00 — #2
Yes, just redirect to the new subdirectory. The query string will not be affected.
aeboi80 — 2011-07-30T21:11:12-04:00 — #3
Thank you, but the issue I forsee is that although we moved our affiliate script from / to /aff we installed wordpress in the root / so we can't just do simple 301 redirect from / to /aff or otherwise wordpress would cease to function.
Any assistance on this would be greatly appreciated.
We need to specifically target instances of index.php?id=
dklynn — 2011-07-31T04:29:56-04:00 — #4
Well, that's the answer ... and WP can have its directory changed in its configuration file.