User Tools

Site Tools


installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation [2014/04/30 00:31]
admin [Important Note]
installation [2016/02/01 17:45] (current)
admin [Create Consistent Base URL]
Line 1: Line 1:
 ====== Installation Guide ====== ====== Installation Guide ======
  
-The installation process is a very simple task. There are steps:+The installation process is a very simple task. There are steps:
   - [[installation#​copy_the_files_to_your_server|Copy the files to your server]]   - [[installation#​copy_the_files_to_your_server|Copy the files to your server]]
   - [[installation#​create_your_database_and_database_user_and_password|Create your database and database user and password]]   - [[installation#​create_your_database_and_database_user_and_password|Create your database and database user and password]]
   - [[installation#​point_your_browser_to_your_site_and_follow_the_installation_process|Point your browser to your site and follow the installation process]]   - [[installation#​point_your_browser_to_your_site_and_follow_the_installation_process|Point your browser to your site and follow the installation process]]
 +  - [[installation#​create_consistent_base_url|Create Consistent Base URL]]
   - [[installation#​set_up_the_periodic_maintenance_task|Set up the periodic maintenance task (Cron Jobs)]]   - [[installation#​set_up_the_periodic_maintenance_task|Set up the periodic maintenance task (Cron Jobs)]]
  
Line 10: Line 11:
  
    
- 
- 
  
  
Line 63: Line 62:
   In this case please edit the .htaccess file and remove all lines starting with php_value or php_flag. ​   In this case please edit the .htaccess file and remove all lines starting with php_value or php_flag. ​
   These lines set the best environment for Etano but it can run even if you remove these lines.   These lines set the best environment for Etano but it can run even if you remove these lines.
- +  Once you have edited the .htaccess file then return to the install page. 
-Simply ​follow the instructions on screen.+  You may need to enter the full path ... http://​yoursite.com/​install/​ 
 +Then simply continue to follow the instructions on screen.
 The default username and password for the administration panel are:\\ The default username and password for the administration panel are:\\
 Username: admin\\ Username: admin\\
Line 177: Line 177:
  
  
 +===== Create Consistent Base URL =====
 +Some web servers treat URLs with **www** and **non www** as totally separate URLs or domains which can cause potential issues. For example if your BASE URL is defined with the the **www** prefix www.yoursite.com but you type in just **yoursite.com** into the browser'​s URL field, this can potentially cause problems if the URL changes with or without the **WWW** prefix while browsing or navigating to different pages.
 +
 +Most common issues are users being logged out when navigating the site, or during the registration process when a user attempts to select their state it continues to try and load but never actually loads.
  
 +To prevent this from potentially happening it's best to make it always rewrite with the www prefix by including ​ the following code in the top portion of your .htaccess file.
 +<​code>​Options +FollowSymLinks
 +RewriteEngine on
 +RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
 +RewriteRule ^(.*)$ http://​www.yoursite.com/​$1 [R=301,L]
 +</​code>​
 +Then in the **includes/​defines.inc.php** file on your server be sure your Base URL has the **WWW** prefix, which will be in line #7:
  
 +<​code>​define('​_BASEURL_','​http://​www.yoursite.com'​);//​ protocol required (http:// )</​code>​
  
 ==== Helper scripts ==== ==== Helper scripts ====
installation.1398817892.txt.gz · Last modified: 2014/04/30 00:31 by admin