ice1 Posted October 18, 2005 Posted October 18, 2005 hi just wondered how to get rid of index of .....on domain. wanted to put sub-domain front page there... is there a way of doing this? if so how? Quote
MikeJ Posted October 18, 2005 Posted October 18, 2005 I'm not sure exactly what you are asking.. If you want to get rid of the directory listing that will pop up if no index pages exist, you can simply create an index page (index.php, index.html, etc...) and put it in that directory. Or if you don't plan to put any index pages in that directory, you can create a .htaccess file in that directory with the single line of: >Options -Indexes The latter can also be done through your Control Panel's "Index Manager". Is that what you are referring to? Quote
ice1 Posted October 18, 2005 Author Posted October 18, 2005 well basically i got index of on main domain page was wondering how to replace it with my forum page!!!(website front page which is on sub-domain) Quote
MikeJ Posted October 18, 2005 Posted October 18, 2005 Oh... in that case you'd probably be best just redirecting your main page to your subdomain. In your control panel, find your Manage Redirects, and create a redirect by leaving the source input box blank (to redirect your root) and enter "yoursub.yourtchdomain.com" in the destination input box. You can select whether the code should be temporary or permanent that is passed back to browsers (if you don't plan to have a site on your main url, then make it permanent). Then requests for yourtchdomain.com or www.yourtchdomain.com will be redirected to yoursub.yourtchdomain.com. Quote
ice1 Posted October 18, 2005 Author Posted October 18, 2005 thank mike that really helped very greatful Quote
ice1 Posted October 18, 2005 Author Posted October 18, 2005 how long roughly b4 any changes ...straight away or few days? Quote
ice1 Posted October 18, 2005 Author Posted October 18, 2005 Oh... in that case you'd probably be best just redirecting your main page to your subdomain but my front page is on my sub-domain i want it redirested to domain sorry for confusion Quote
stevevan Posted October 18, 2005 Posted October 18, 2005 how long roughly b4 any changes ...straight away or few days? Should be almost instantaneously. You will have to refresh your browser in order to see it, tho'. Quote
MikeJ Posted October 18, 2005 Posted October 18, 2005 but my front page is on my sub-domain i want it redirested to domain Sorry I'm not fully understanding you. Are you saying you want the page on your subdomain displayed, but you want your main domain shown as the URL? Quote
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.