Induvidual sites one level up

Events happening in the community are now at Drupal community events on www.drupal.org.
dbinoj's picture

Hi, is there any possibility of creating the new sites a level up?
Eg: My open scholar beta13 is installed in http://www.example.edu/openscholar
I need people to create sites like : http://www.example.edu/newsite and not as http://www.example.edu/openscholar/newsite
The reason i did not install openscholar at http://www.example.edu/ is because i have a D7 site running there.

Comments

This is possible, however not

rbrandon's picture

This is possible, however not straight forward.

Here is how i think it would need to work.

You would need to setup your D7 install without clean url's so that you can setup drupal to send paths at http://www.example.edu/ (http://www.example.edu/?path=another_d7_path) to the drupal 7 install and all OTHER paths to the Openscholar install.

In then Openscholar Install: You would then need to change your purl base domain to "http://www.example.edu/", and set the start page to "openscholar". That will tell openscholar to render the home page at "http://www.example.edu/openscholar"

It will probably be easiest to get the openscholar site working with the D7 site disabled and then add the D7 site back in making sure that requests are routed to the correct install.

Let me know what you come up with.

-Richard

I'm afraid this will be a

dbinoj's picture

I'm afraid this will be a huge set back on the SEO aspects of the main site. Is there a way in which I can add htaccess rules to individual sites so that the main site still uses clean URLs?

Not an easy task. Your

rbrandon's picture

Not an easy task. Your htaccess file would need to change as new sites were created, and there would be no way to guarantee that there would not be path collisions between the two installs.

It is okay as only the server

dbinoj's picture

It is okay as only the server admin will be creating websites and he can edit each time a site is created. And there will be a max of around 50 sites only.

subdomains anyone?

k4rtik's picture

You can perhaps choose to use name based virtual hosting and make your openscholar sites appear at e.g. os.example.com/newsite

Will solve most SEO issues and your original problem going too deep.

Yeah I thought of that. But

dbinoj's picture

Yeah I thought of that. But the current html based sites are like www.example.com, www.example.com/site1, www.example.com/site2, etc. So was thinking of the htaccess solution. If it does not work out, will use the subdomain approach.

OpenScholar

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: