Posted by dbinoj on January 2, 2012 at 6:34am
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
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
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
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
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?
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.
--
K4rtik
Blog: http://k4rtik.wordpress.com
Yeah I thought of that. But
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.