set apache2 to include mod_rewrite and related

/etc/apache2:

a2enmod rewrite;

/etc/init.d/apache2 force-reload;

service apache2 restart;

——————————————————

.htaccess file is present at the wp root directory ( var/www/norikoshop/) with almost no content.

rewrite it:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /norikoshop/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /norikoshop/index.php [L]
</IfModule>
# END WordPres

change permalink in 192.168.0.16/norikoshop doesn’t work.

Now clean the web: (Clean URLs with Apache 2 on Debian: on web)

/etc/apache2/sites-available;

cp default default org;

gksudo gedit default;

Directory /var/www/
Options Indexes FollowSymLinks MultiViews
AllowOverride None

to

Directory /var/www/
Options Indexes FollowSymLinks MultiViews
AllowOverride All

sudo a2ensite default;

sudo service apache2 reload;

change permalink in  192.168.0.16/norikoshop/   successfully worked.

 

WP migration study (2)

On  wptest:

0. staus: plugins:  akismet;  themes: designfolio(running),twentythirteen, twentytwelve;  database table_prefix=’wptest_’

1.install WordPress Database Reset

2.Reset the database using this plugin.

 

migration study (1)

On  norikoEnWP:

0. staus: plugins:  akismet;  themes: twentythirteen(running), twentytwelve;  database table_prefix=’wpnoriko_’

1.phpMyAdmin:   all the wpnoriko_ tabels : 空にする(truncate).  size は0にならないけれど、行数は0になる。

2. cannot login: Error establishing a database connection, cannot open the homepage either.

3. I suppose I did too much. For the time, I give up rescue this site.

 

norikoshop status

tokyo-tour-courses:  selection is working , but marking is not ,  class “here” background should be attributed something.  Extra circle mark is present before jump buttons.

tokyo contact: not linked

 

child theme

How to Create a Child Theme (bad practise now)

  • Child Theme directory structure

    Create a directory in your themes directory to hold the child theme. The theme directory is wp-content/themes. You should name the directory without any space as part of the name, and it is common practice to use the name of the parent theme folder with “-child” appended to it. For example, if you are making a child of the twentyfourteen theme, your folder name would be twentyfourteen-child.

  • In the child theme directory, create a file called style.css. This is the only file required to make a child theme. The style sheet must start with the following lines:
/*
 Theme Name:   Twenty Fourteen Child
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Twenty Fourteen Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     twentyfourteen
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

@import url("../twentyfourteen/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

You can change each of these lines to suit your theme. The only required lines are the Theme Name, and the Template. The Template is the directory name of the parent theme. In this case, the parent theme is the TwentyFourteen theme, so the Template is twentyfourteen, which is the name of the directory where the TwentyFourteen theme resides. If you want to make a child of a theme with the directory name example-theme-name, then you would use Template: example-theme-name.