My URL

Status
Not open for further replies.

head ish0ti

New Member
Messages
23
Reaction score
0
Points
0
Ok so i have the URL of http://www.profifaleagues.net/. When you type that URL in it takes you to a page that displays the folder i named "forum" it shows this folder and when you click it it takes you to http://www.profifaleagues.net/forum. (If you dont understand visit http://www.profifaleagues.net/). Now if i go to any other page.. Let's say the portal it would display as this

http://www.profifaleagues.net/forum/portal.php

I don't want it to be like this i want it to be

http://www.profifaleagues.net/portal.php

So how do i stop it showing the /forum/ bit because it looks real ugly :|.

Plus when you visit http://www.profifaleagues.net/ it goes to that directory page i also dont want this.

I want is so when you type

http://www.profifaleagues.net/

it takes you too

http://www.profifaleagues.net/portal.php

Any help would be much appreciated.
 
Last edited:

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
well if you want users to see the forum when the first hit the site, you can relocate all the files of the forum folder into the main "public_html" folder, this will also solve the "ugly" url problem you have.

when you do that, you also might need to fix some config files, depending on your forum software. a google search with "relocate domain [your forum software]" should find you a help topic
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
You could use some htaccess redirection. For instance, all urls could be redirected internally to /forums and the default index page could be set to portal.php

I'll write it up and post back here.

Code:
RewriteEngine On
RewriteBase /
RewriteRule ^(.*?)$ /forums/$1 [L,QSA]
 
Last edited:

head ish0ti

New Member
Messages
23
Reaction score
0
Points
0
well if you want users to see the forum when the first hit the site, you can relocate all the files of the forum folder into the main "public_html" folder, this will also solve the "ugly" url problem you have.

when you do that, you also might need to fix some config files, depending on your forum software. a google search with "relocate domain [your forum software]" should find you a help topic

I tried moving all the files to the "Public html" folder but then i can't login. It just takes me to a x10hosting error page :(. I'm using MYBB so i tried googling "relocate domain mybb" and i didnt get anything =|.

Also when i login to the adminCP and try to change everything every action i do requests a login meaning i cant change anything. Help :s
 
Last edited:

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
I just tried your site and everything works fine.

did you update it?
 
Status
Not open for further replies.
Top