Jump to content

Recommended Posts

  • 3 weeks later...

Hi,

 

The easiest method (without any server side scripting) would be to change your DocumentRoot entry for mysite.com in Apache's httpd.conf file to be the folder that you want mysite.com to direct to. If you intend gallery to be the default folder when visiting the site, then gallery should be your DocumentRoot. By doing this, when you visit mysite.com, the contents of gallery will be displayed by default.

 

If you have other folders that you want to access from mysite.com that are currently siblings to gallery, then just move them inside gallery.

 

Is that what you are trying to accomplish?

 

Regards,

 

Rory Laitila

Technical Support Representative

rlaitila@hostmysite.com

HostMySite.com

Link to comment
https://forums.phpfreaks.com/topic/138649-url-redirect/#findComment-736344
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.