Articles
- The Page Generator System
- Page Generator
- Page Generator Install
- SEO Company
- SEO Advice
- On Page SEO
- White Hat SEO
- Deep Links
- Keyword Density
- Keyword Research
- Link Building
- SEO Expert
- Site Wide Links
- Link Exchanges
- Favicons
- Unique Content
- Affiliate Programs
- CSS Explained
- Templates
- Navigation Bar
- Keyword Mining
- Inbound Link Quality
- Link Baiting
- SEO Consultant
- SEO Consulting
- Used Domain Names
- Keyword Domain Name
- Domain Appraisal
- PPC Management
- Keyword Stuffing
- Manual Directory Submissions
- Directory Software
- Copywriter
- Contact Form
- Directory Listings
- No Follow Tag
- Text Link Ads
- Banner Ads
- Niche Directory
- Deep Link Directory
- Avatar
- Sig Links
- Database Backup
- Blogger
- Audience Reach
- Hot Linking
- Hyperlink
- Hub
Page Generator Install
Page Generator Install
Ten Easy Steps to get Page Generator CMS up and running! You will need to read though all 10 steps before you start the install. This CMS requires your hosting server to be a *nix based operating system that has Apache, PHP and MySQL install.
1. index.php and .htaccess information.
index.php: If you are uploading the files from the Page Generator CMS ZIP file to the root directory of you hosting account you much be careful that you don't overwrite your current index.php file if you have one. index.php is the controller file for the Page Generator CMS system. That means all the pages of the CMS are displayed through the index.php file with the slug URL. If you create a page and the page slug URL is "page-generator-install.html", then that page would be displayed by "index.php?keyphrasetabs=page-generator-install.html".
The root folder on the server is usually named "public_html" or "httpdocs".
Here is a example of how this page can be displayed:
seocompany.ca/page-generator/page-generator-install.html
.htaccess: Check to see if you have a .htaccess file in the root directory of your hosting account. If you have a .htaccess file delete the new .htaccess file that came with the Page Generator CMS install after you unzip the files. Access the htaccess.txt file that came with the Page Generator CMS files and add the contents from the htaccess.txt file to the .htaccess file that is in your root directory file on the hosting computer. Follow the instructions in the htaccess.txt file for editing the line number 11 (instructions can be found on the line number 9 and 10). After you have dealt with the .htaccess file, go ahead and use a FTP program to upload the following files to your root directory or to a directory with in your root directory that you want the CMS to be in.
- .htaccess - sets up the apache mod_rewrite so you can have your keywords in the URL. If you have a .htaccess file already in the root of you hosting account then delete the .htaccess file that came with the CMS files and use the contents of the htaccess.txt file to update you current .htacess file in your root directory.
- htaccess.txt - is a copy of the .htaccess file so you can view the contents easier and cut and paste the contents of this file into you current .htaccess file.
- backend.php - backend page for adding files.
- backup_db.php - backup & restore page.
- createdb.php - create the database page.
- function.inc.php - fuctions page.
- h1content.php - page that displays the title in h1 tag and content.
- /images - directory that stores all images that may be uploaded to the web server using "uploadphoto.php".
- image.php - page that facilitates inserting image/photo into your webpage. This is called from the editor menu 'img' for editing page content.
- index.php - home page template with meta.php, links.php & h1content.php file inserted into.
- links.php - inserted file that displays a link to all pages in the PG CMS.
- meta.php - inserted file that displays meta description and meta keywords in the PG CMS.
- metaonly.php - inserted file into static files that displays dynamic meta description and meta keyword.
- pg.css - file that stores the style code (CSS) of the website layout.
- test.php - page to test conection to the created datebase.
- top.php - file that goes into the very top of index.php.
- uploadphoto.php - file that facilitates photo/image upload from your PC to your web server. Later, you may use these images on your webpages.
- var.php - file that contains the variables for the sytem.
2. Find out your cPanel login username and password and login.
3. Select the MySQL Databases icon.
4. In the Db: field add "pg" and click on the "Add Db" button.
5. Under the Users heading add a user name to the "UserName" field and a password to the "Passwords" field and click on the "Add user" button. Record you password in a log book.
6. Under the Databases heading click on the "Add Users to Db" button. From the Databases heading record the username and datebase name in the "User" and the "Db" fields in a log book.
7. Give "chmod 777" (read-write-execute) permission to the directory "images".
8. Edit the vars.php file and fill out the first 3 values with your recorded values (replace "new-value-here" with the username, password and database name you recorded in your log book). "localhost" is usually "localhost" on almost all hosting servers; however, please check with your hosting company to make sure that you have the correct value there. Next three consecutive lines contains the DB table names. If you are installing PG on an existing database, you may choose table names of your choice. The final two lines contain URLs for the images directory and the website directory respectively. Save the file "vars.php", and upload the changed copy to the directory on your hosting account where you uploaded the CMS files via an FTP program.
seocomp1_test = "new-value-here";
test1234 = "new-value-here";
seocomp1_newtest = "new-value-here";
localhost = "localhost";
pagegenpg1 = 'pagegen';
userspg1 = 'users';
slugurlpg1 = 'slugurl';
http://www.seocompany.ca/pg/images/ = 'http://www.your-domain.ext/directory/images/';
http://www.seocompany.ca/pg/ = 'http://www.your-domain.ext/directory'; // No forward slash at the end please.
?>
9. In your web browser access the test.php file from the location you uploaded your files to. This will verify that you are able to access your created database. You should get a "If there is no errors shown the host, user, password and db name are setup correctly!" message.
Here is a sample of the test file for the install on seocompany.ca. The install is in "public_html/page-generator" directory.
http://www.seocompany.ca/page-generator/test.php
10. In your web browser go to the following file http://www.your-domain.ext/directory/createdb.php. Add a new Username and Password at the "Create the default user for the publishing system" prompt and click on the "Create" button. You will get a message stating "Installation complete".
The database system is now set up. You can go to http://www.your-domain.ext/directory/backend.php and start adding pages. Please make sure that you delete the file "createdb.php" after you finish the installation.
Page Generator Errors
If you have added a page and when you click on the link under the article list you get a 404 error then there may be a problem with the .htaccess file. You can test to make sure the Page Generator CMS system is working by adding a page and displaying it with /index.php?keyphrasetabs=value-of-slug-url.
For example, here is this page with the .htaccess working and the keywords in the URL
seocompany.ca/page-generator/page-generator-install.html
Here is the same page which will display whether the .htaccess mod_rewrite is working or not.
seocompany.ca/page-generator/index.php?keyphrasetabs=page-generator-install.html
Just edit the URL that is not working and change the "page-generator-install.html" to "index.php?keyphrasetabs=page-generator-install.html" and it will work.