Jump to content


Tutorial info Visit support topic

  • Added on: Dec 20 2011 06:28 PM
  • Date Updated: Dec 21 2011 07:16 AM
  • Views: 4114
 


IP.Content as domain home, FURLS, and htaccess

making IP.Content as domain home using furls without setting CCS as default app.

Posted by Dave MacLeod on Dec 20 2011 06:28 PM
The instruction invision provide map a procedure to use IP.Content as home page but this causes breadcrumbs to always go to CCS page or, if furls in use for SEO, it causes breadcrumb to give page error.

There is a way to run IP.Content as the domain home page, utilize FURLS for SEO and....really...common sense, as well as have all links and breadcrumbs work correctly.

First take the index.php from the ccs tools folder and make sure
$path_to_ipb	= './forums/';
is set correctly. Since I used /forums for the actual forum the default setting is correct.
You need to upload this file to your domain root folder, usually public_html.
Unlike what the reading suggests you do NOT use any initdata.php here, just uploading that one index.php file.

Then in your ACP go to Other Apps-Content-Settings and Advanced.
You then fill in the path here
http://www.yourdomain.com/
and in next block type index.php and DO use htaccess here.
Download the htaccess file and upload to root, public_html for me.
Heres where we all think we need to use initdata, well for this scenario we do NOT change initdata.php.

Now to actually get FURLS to work go to Settings-System-Search Engine Optimization. Here is where we make the changes and use htaccess.
Check use furls, choose path info, and choose use htaccess mod_rewrite. Copy the displayed code into an htaccess file and upload that to your /forums folder, NOT your domain root folder.

Now the last thing is you will need to download the conf_global.php file from your forum (again, we use /forums for this setup) root directory, and add the following line (if it does not already exist):
$INFO['use_friendly_urls'] = 1;
if the line is there already just make sure the value is set to 1. Then all you do is upload that to your /forums directory, recache all skins, recache all under settings-cache management, and you should be all set.

Powered by Tutorials 1.5.1 © 2013, by Michael McCune