Jump to content
xisto Community
Sign in to follow this  
cyborgxxi

Redirecting To Forums

Recommended Posts

Let's say I have a forums software installed in the hosting server as /forums

If you are going to access the forum, then you type http://forums.xisto.com/no_longer_exists/, correct?

What if you want to access the forum just by typing http://forums.xisto.com/no_longer_exists/?

How is that possible? I don't want to use redirecting services... I wonder if it's possible.

Please remember that the links above are just example URL's. They're not real

Share this post


Link to post
Share on other sites

Ya very simple.. Now you call http://forums.xisto.com/no_longer_exists/ because, you forum software's index.php and all other files have been installed under /public_html/forums/ directory.

 

Surely you know that whatever is in your public_html directory gets shown in the browser.. So if you unzip your forum software into the public_html dir, then it's index.php will be available right there - and will show up in the browser as http://forums.xisto.com/no_longer_exists/

 

So all you need to do it move your whole forum software files out of your "forum" directory and place them under public_html.

Share this post


Link to post
Share on other sites

While this is being asked, just another question to be popped in .. sorry cyborgxxi.When you said that we could unzip the forum software files to the "Public_HTML" folder, what or how do i write the configuration detail when asked for by the forum while installation. As in some forums ask you to type in your forum folder like "forum" or "forums" , so in this case do i leave the place blank or just a "/" would do ? I havent tried this out yet or neither have i installed a forum in root, i always use the folder :) , but after reading the post, this thought did cross me.RegardsDhanesh.

Share this post


Link to post
Share on other sites

As in some forums ask you to type in your forum folder like "forum" or "forums" , so in this case do i leave the place blank or just a "/" would do ?

1064330571[/snapback]


If it asks for the folder with the traling slash (ie. forums/ ) then put a single slash there. If treiling slash is not there, leave it empty.

 

If neither work, you could use './' (dot and a slah), which basically in unix systems references to the current directory.

Share this post


Link to post
Share on other sites

Thanks hercco, would try that next time, its just that the idea of keeping a "./" whiles asked for configuartions, isnt getting into me. Is it just for forums ? or in the case of a few CMS's if the forum folder is in the root then what ? a "/forum" wouldent be approprite rite ?RegardsDhanesh.

Share this post


Link to post
Share on other sites

you can fix this by putting a htaccess file, sorry i forgot the code, but on google you will find it, i need to go now, i am in rush, so thought will help atleast with what is needed to be done :)

Share this post


Link to post
Share on other sites

Okay, there are a couple of ways to reach your forum @ http://forums.xisto.com/no_longer_exists/ by typing http://forums.xisto.com/no_longer_exists/

First, if you don't want to move the forum software to the root directory, create a index.html file in the root directory that simple has a redirect command.

http://forums.xisto.com/topic/85352-topic/?findpost=1064313274

Second, you can create or modify your .htaccess file in the root directory and have it forward all requests of the root directory to another domain, directory, or file.

You can access the .htaccess file in the cPanel > Site management Tools > Manage Redirects option.

Hope this helps. :)

vujsa

Share this post


Link to post
Share on other sites

Here is a link to a webpage that I use when I need a reference guide to how to properly use and modify .htaccess files, and how to do soproperly. Here is the link. That document gives very detail information on how to properly use .htaccess files. Hope it helps...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.