Vivvo CMS Support Forum Home | Free Trial | Online Demo | Docs and Manuals | Order Now   

Go Back   Vivvo CMS Support Forums > Vivvo 4 > Troubleshooting > Installation, Configuration and Upgrade

Installation, Configuration and Upgrade Post your questions and issues regarding the installation, setup process or upgrading to a new version of Vivvo. Be sure to search, and check the installation docs before you post!

Reply
 
Thread Tools Display Modes
Old 05-18-2009, 12:32 PM   #1
Simon
Guest
 
Posts: n/a
Default Install in directory - access via root

Hi,

I want to install vivvo in a directory under root and want the vivvo cms to be available from root, so they just visit the domain.com to see the site. I believe this can be done in 4.1.2 but I can't find anything on this, could someone please point me in the right direction, I lend me some glasses so I can see better
  Reply With Quote
Old 05-18-2009, 03:51 PM   #2
ivanhoe
Guest
 
Posts: n/a
Default

It's simple to do, but you will need to edit a couple of files. I'll presume for this example that your site's url is www.example.com and you want Vivvo to be installed in sub-folder named vivvo/
  1. Install Vivvo in subfolder vivvo/
  2. Go to that subfolder and open conf.php file in editor and find a line that reads
    PHP Code:
    define('VIVVO_URL''http://www.example.com/vivvo/'); 
    and change it to point to the webroot of your site:
    PHP Code:
    define('VIVVO_URL''http://www.example.com/'); 
  3. Move .htaccess file from vivvo/ subfolder to webroot, open it in editor and add the following lines below "RewriteEngine On" line, and above the rest of RewriteRules:
    Code:
    RewriteCond %{REQUEST_URI} !^/vivvo/
    RewriteRule ^(.*)$ vivvo/$1 [L]
  4. Create a new file index.php in the webroot of your site, and put this code in it:
    PHP Code:
    <?php 
         
    require 'vivvo/index.php'
    ?>
    make sure there is no spaces, new lines, etc. before <? or after ?> tags, as it will create php errors.
  5. That should be it, when you point your browser to www.example.com, it will serve Vivvo pages from www.example.com/vivvo/

The problem with this setup is that your site will be accessible from both www.example.com, and www.example.com/vivvo, and that is not very good from SEO point of view. You can solve this with robots.txt file that will block search engines from indexing vivvo/ path, as it should be invisible for your users anyway. Create file named robots.txt in your webroot and add this text:
Code:
User-agent: *
Disallow: /vivvo/
Of course, substitute 'vivvo' with the actual name of subfolder where Vivvo is installed.
  Reply With Quote
Old 05-19-2009, 01:15 PM   #3
Simon
Guest
 
Posts: n/a
Default

Excellent, thanks Ivanhoe
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Order now:

Order your copy of Vivvo now and get:
bullet Six months free upgrades
bullet Free support
bullet Full source code
bullet Immediate download
bullet Starting at only $295.00
Order now

Support HelpDesk:

You can submit a trouble ticket in the support area at any time, using your client area email and password.

Vivvo CMS Resource Center:

The Vivvo CMS Resource Center is your window to a variety of resources that showcase Vivvo's features and technologies. So whether you're brand new to Vivvo or a seasoned user, you can find the information you need right here!

Latest Additions:

Contact us:

Business hours
Mon-Fri 9:00AM - 6:00PM GMT+1
(Europe)
Telephone Sales
381 11 311-50-20
Email inquiries
sales@vivvo.net
(Sales inquiries)
support@vivvo.net
(Support inquiries)

All times are GMT +1. The time now is 10:12 PM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.