dakasadaka Posted February 25, 2010 Share Posted February 25, 2010 Hello I have website that had the forum on site.com, but now I have made all other construction on my main page, but for old forum I want to redict ols forum to other map like site.com/forum... it's 301 redirection to say to google that all old files are redirected to the new map! So how can this be done? tnx, Davor Quote Link to comment https://forums.phpfreaks.com/topic/193382-301-redict-to-onother-map/ Share on other sites More sharing options...
jskywalker Posted February 27, 2010 Share Posted February 27, 2010 http://httpd.apache.org/docs/2.2/custom-error.html ErrorDocument 301 /redirect.php Than you have to wirte a redirect.php script which takes care of the "REDIRECT_QUERY_STRING=".... another sollution might be mod_rewrite http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html Quote Link to comment https://forums.phpfreaks.com/topic/193382-301-redict-to-onother-map/#findComment-1018934 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.