garbage 0 Report post Posted October 1, 2006 I am a trap 17 hsted member but i cannot figure out how to do redierect my url the way i want it..example.. the hosting address is http://forums.xisto.com/no_longer_exists/i created a site and the site is in folder /site so the address is http://forums.xisto.com/no_longer_exists/ how do i get it to display only myhost.com and not show the /site i ahve no idea nad i have tried many times thru the manage redirects. i use temporary.. but do I need to use the permanet anyone please help Share this post Link to post Share on other sites
Plenoptic 0 Report post Posted October 1, 2006 Well you could copy everything from the site directory into the public_html folder. You shouldn't have to change anything to get the site to work after that but a redirect will still take you to the /site. You can set it up though so that your index page redirects to that directory even though it will still trail /site on the end. <?PHPheader("Location: http://forums.xisto.com/no_longer_exists/; Share this post Link to post Share on other sites
garbage 0 Report post Posted October 1, 2006 thnx for the info. I will try this. Share this post Link to post Share on other sites
hts 0 Report post Posted October 1, 2006 (edited) header("HTTP/1.1 301 Moved Permanently");header("Location: [url=http://your-new-address.tld;]http://your-new-address.tld;[/url]exit(); that is a better way of redirecting, as it is Google-safe (SEO-wise) Notice from serverph: added code tags. Edited October 1, 2006 by serverph (see edit history) Share this post Link to post Share on other sites
Dagoth Nereviar 0 Report post Posted October 2, 2006 Just move everything to your main folder (Usually called public_html) or hide the address bar Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted October 11, 2006 Instead of doing all that although the google one is interesting you set up the redirect through cpanel. Notice from saint-michael: Atthis time cpanel is down is I will get the rest of the info that is needed. Share this post Link to post Share on other sites