I am a webmaster and advanced user, but not much of a scripter.
I have a folder in the root called "special". Occasionally, when I run special prices, I place a revised index in that folder (with the special prices on it), and send out emails with a clickable link to the discount page. Now, when the special sale is over, I'd like to redirect all requests for that folder (ie: links or requests for
www.mydomain.com/special, as well as links or requests for
www.mydomain.com/special/index-xyz123.html ) to the root (ie:
www.mydomain.com) Note: the root of this website is not the true root of my hosting - it's a subfolder.
a) which folder should the htaccess be in? (hosting root, website root, or "special" subfolder)
b) what should the content be?
I've tried 301 & other approaches, and placed the file in the root and the special folder. Not sure what I'm doing wrong, I can't seem to get a correct result. Godaddy assures me I am on the right server and there are no permission problems.
Thanks