Help,
How do I redirect a domain to a subfolder?
i have only one domain and installed in a folder /mambo
The CMS Mambo.
How do I redirect this to my domain name ?
Thanks
Help,
How do I redirect a domain to a subfolder?
i have only one domain and installed in a folder /mambo
The CMS Mambo.
How do I redirect this to my domain name ?
Thanks
Hi,
Please include the following entry in the .htaccess file:
redirect permanent domain.com/mambo/ yourdomain.com
Regards,
Bright![]()
Originally posted by BrightAdmin
Hi,
Please include the following entry in the .htaccess file:
redirect permanent domain.com/mambo/ yourdomain.com
Regards,
Bright![]()
Thanks. and where can i find that .htaccess file please ?
Hi,
You can find the .htacces file in the following path:
/home/user/public_html/.htaccess
Regards,
Bright![]()
thank youOriginally posted by BrightAdmin
Hi,
You can find the .htacces file in the following path:
/home/user/public_html/.htaccess
Regards,
Bright![]()
![]()
oh dear, there is nothingOriginally posted by 1link4it
thank you![]()
![]()
Do you have an example >? is it called .htaccess and what should be the file rights rwxxx?
Thank you
If you don't have a .htaccess file, you can just create one.
Also, have you tried the "Manage Redirects" in cpanel?
Yes, but i had no result or i did that also wrong...i feel a bit hopeless now, and i don't know where it is wrong...Originally posted by squirrel
Also, have you tried the "Manage Redirects" in cpanel?
The plan was to have 2 folders, one for the web site and one for the test web site....
so i installed in /mambo the Web Site.
Then went to manage redirect and tried several settings.
like http://domain.com/mambo/ --> http://domain.com
But if you know it, then yes please..i thought that the redirects where ment for these things![]()
Try this:
In your redirect setup page in cpanel, put
mambo/
in the first box, and put
domain.com
in the second box, without http://.
Should work.
I just set a similar one up. Go to http://subdomainplaza.net/test/ to see what I mean. Just ignore the parked page you see.![]()
Originally posted by squirrel
Try this:
In your redirect setup page in cpanel, put
mambo/
in the first box, and put
domain.com
in the second box, without http://.
Should work.
I just set a similar one up. Go to http://subdomainplaza.net/test/ to see what I mean. Just ignore the parked page you see.![]()
Yes, that works fine...great thank you for all your help, i am trying it right now![]()
NO not working, the redirect is giving this infoOriginally posted by 1link4it
Yes, that works fine...great thank you for all your help, i am trying it right now![]()
/mambo/ http://domain.com (permanent)
i have exact as you told me...
Last edited by 1link4it; 03-16-2004 at 10:57 AM.
[QUOTE]Originally posted by 1link4it
[B]NO not working, the redirect is giving this info
/mambo/ http://domain.com (permanent)
i have exact as you told me...
Last edited by 1link4it; 03-16-2004 at 10:56 AM.
[QUOTE]Originally posted by 1link4it
not working....
Last edited by 1link4it; 03-16-2004 at 10:56 AM.
[QUOTE]Originally posted by 1link4it
[B]Originally posted by 1link4it
NO not working, the redirect is giving this info
/mambo/ http://domain.com (permanent)
i have exact as you told me...
That's exactly how mine looks when I go to my redirects page. It's weird that it doesn't work for you. Maybe your hosting provider made your .htaccess file unwritable or something, preventing it from working.
I suggest asking them about it because someone needs to look at it to find the problem.