Jump to content

Recommended Posts

Posted

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?

Posted

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?

Posted

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)

Posted

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.

Posted
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

Posted
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'.

Posted
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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...