Solved

web CMS on hosting service folder permissions

Posted on 2009-03-31
2
200 Views
Last Modified: 2013-12-14
Hi....
I'm trying to run a Joomla installation on a hosted server.
The root folder will never have read/write permissions.
This requires me to install it in a subfolder which I do have full control of.

The problem lies with a single line php redirect.
it redirects fine, but then puts the subfolder in the address bar, which I don't want.

so, if someone types http://www.cutlerplace.com
the redirect puts out http://www.cutlerplace.com/joomla

how do I stop that?
Thanks
0
Comment
Question by:Evan Cutler
2 Comments
 
LVL 14

Accepted Solution

by:
shobinsun earned 500 total points
ID: 24036394
Hello,

You can do it with .htaccess redirect method.

Using .htaccess for Redirection:

When using the Apache web server, directory-specific .htaccess files (as well as apache's main configuration files) can be used. For example, to redirect a single page:

Redirect 301 /oldpage.html http://www.example.com/newpage.html

To change domain names:

RewriteEngine On
 
RewriteCond %{HTTP_HOST} ^.*oldwebsite\.com$ [NC]
RewriteRule ^(.*)$ http://www.preferredwebsite.net/$1 [R=301,L]


http://en.wikipedia.org/wiki/URL_redirection

http://corz.org/serv/tricks/htaccess2.php


You can also do it:

create a sub domain in your domain and paste all the contents from joomla there.

Then go the sub domain .

Regards.
0
 
LVL 9

Author Closing Comment

by:Evan Cutler
ID: 31565182
It's a windows-based server.
of your solutions...the only one that appears to work is the subdomain solution.

Thanks much :)
Evan
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now