subdomain

J

Jason

hi, i set up a subdomain through my hosts control panel.
(vdeck) i did this so that my FP search would not search
this part of the site. i did this by specifying the path
to the folder. now i have a subdomian set up, but how can
i actually keep this folder from also being viewed as
mydomain/folder and keep it from being searched? (i can
view it as subdomain.mydomain.com or
mydomain.com/subdomain folder) i don't want people to be
able to view it as the latter, or have it included in my
search.
 
R

Ronx

To remove from Search:
Assuming your host allows subwebs, convert the folder to a subweb. The FP
WAIS search will not search subwebs. If hosted on Windows and using Index
Server, then the Index Server catalogue for your site must be edited to
exclude the folder.

You cannot stop users from accessing domain.com/subdomain_folder if they
choose to do so - obviously, links from the root web to any pages in the
subdomain must be absolute ( http://subdomain.mydomain.com/pagename.htm ).
You could use JavaScript, or ,better still, server side scripting, to
detect the URL used to access a page in the folder. If the URL is
domain.com/folder then redirect to an error page, if URL is
folder.domain.com/ then display the page. (I have never tried this, so do
not know if it will work).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top