|
|
Tips & Suggestions
IntroductionThis file contains tips and suggestions that might prove useful. Table Of Contents
Getting your archives into search engines like Google
Note: The solutions described here might not work on your system.
Nucleus creates archives dynamically on users requests. The URL is then of the form Two solutions are listed below. They're not guaranteed to work, however (wether they work or not depends on the webserver configuration) Fancy URLsNucleus v2.0 has a new option in the global settings 'URL mode'. Setting it to 'Fancy URL' mode, and performing the steps below, will make your URLs look like Installation steps:
When it doesn't work (e.g. you receive an Internal Server Error): bad luck... Remove the files again (don't forget the hidden file mod_rewriteThis second possible solution will only work on servers running Apache, and when you have the right to do so. What we will do is 'disguise' the archives as regular HTML pages
Create a file called RewriteEngine On RewriteRule ^archive-([0-9]+)-([0-9]+)-([0-9]+).html+ index.php?archive=$2-$3&blogid=$1 RewriteRule ^item-([0-9]+).html+ index.php?itemid=$1 RewriteRule ^archivelist-([a-z]+).html+ index.php?archivelist=$1
Now upload this file to the directory that contains index.php and config.php. Open your browser and try to open
Now all you have to do is to update the link to your blog archives into <a href="archive-<%blogid%>-<%year%>-<%month%>.html">...</a> And now, wait until Google comes spidering again... How to set file/dir permissionsTo enable some features of Nucleus, changing file permissions is required. A small guide on how to do this using an FTP client is given below. First of all, you'll need an FTP client that supports file permission changing. In this example, we'll use CuteFTP. You can download a free trial version if you don't have it. To change the permissions of a file or directory, create an FTP connection to your website and search for that file or directory in the hierarchy. Select the file by clicking on it. Open the menu Commands > File Actions > CHMOD... for a file, or Commands > Directory > CHMOD... for a directory. A window will pop up: On the bottom, you can enter the code that's given in the documentation (e.g. 755 or 444). Click the OK button and the changes will be applied. You're finished now. How to restore backupsNucleus has a backup/restore option that super-admins can use to create a backup of the database. It's strongly encouraged to take a backup regularly (weekly or so). The backup-files that are returned are files containing standard SQL-queries, that reconstruct the state of the database as it was when the backup was created. While backing up is easy, and restoring should also be easy, problems might pop up when your database is fucked up beyond repair. In that case, the repair function might become unaccessible. Below are some ways you can restore your database in that case:
If you're backup was gzipped, unzip if first (it contains an sql file)
Possibility 1: Web-basedIf you have a web-based interface through which you can manage your database (e.g. PHPMyAdmin), there's most likely an option where you can import a file into the database. Use this function to restore your database. Possibility 2: Shell-accessIf you have a shell account, restoring a backup can be done by running the mysql program with the following arguments: mysql -u username -p -h hostname databasename < backupfile.sql How to create a new weblog1. Creating the weblogAs a superadmin, you can create new weblogs from the 'Nucleus Management' screen. They will then show up on the admin area. 2. Accessing your new weblogThere are several ways in which you can make your new weblog accessible.
Extra methods to use in copy.phpThe selectBlog is only one of the methods which you can use in copies of index.php files. Here's a list of the available calls:
Make sure that these methods are called after the Creating a blog in a subdirectoryThe process for creating a blog in a subdirectory (http://yourhost.com/sub/ where the main weblog is in http://yourhost.com/) is similar, with the only change that you'll need to replace XHTML Support
If you see tags like What this means, is that you can perfectly create an XHTML-compliant site by using correct skins and templates. The default Nucleus skin is XHTML-compliant, but uses the "HTML 4 Loose" doctype. This way, users not knowing XHTML can not create documents with a false XHTML doctype. |
|
|