Log in

View Full Version : Redirecting


Eric Noa
10-25-2008, 02:58 AM
Hello,

I have a forum but I want to change the url. This is an example of how it is right now and what I want to do.

Now its like this: www.example.com/forum

I want to make it to be like this: www.example.com

I want to redirect people when they type www.example.com/foro to go to www.example.com

MysCha
10-25-2008, 03:05 AM
login to ur cpanel host
domain management, direct management

Eric Noa
10-25-2008, 03:09 AM
The thing is my domain is example.com I just created a folfer name forum and uploaded everything there thats why its example.com/foro

MysCha
10-25-2008, 03:18 AM
yeah i know what u mean

u have domain www.abc.com
then u make a folder under public_html ( domain root ) example folder " forum "
so u can acces a forum from www.abc.com/forum

right ?

so u need www.abc.com direct to www.abc.com/forum
yeah u just need direct !!!!! from cpanel

Lynne
10-25-2008, 03:27 AM
Can you just shut down the forum for 'maintenance' and move all the files from the /foro folder to the main folder and then change the necessary paths for attachments (if in file system) and images (in styles) in your admin cp? Or did you already do that and now you are worried about people who bookmarked pages when the site was in the /foro folder and you just want them redirected to the new page?

Eric Noa
10-25-2008, 03:27 AM
Lynne You are correct, I already did that. I made a little research only and I did this after moving all the files from the /foro folder to the main folder.

I made a file named index.php inside the /foro folder and then inside the index.php file I put this code

<meta http-equiv="refresh" content="0; url=http://www.palomerosdelmundo.com">

Thanks for all the help....

I another question Lynne, what names do I have to change in the admin cp...Also how did you knew the folder was name /foro if I never said it.? :D