Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter skystar1111

    (@skystar1111)

    thanks John

    I found the solution by modifying the HOSTS file

    Here is the blog, doing the same thing except I am not using XAMPP

    Thread Starter skystar1111

    (@skystar1111)

    I have two servers, production and test.
    I am not doing any thing to production server. production blog site

    On my test server, I want to set up two copies of same blog.
    – one copy for staging blog site
    – another copy for test blog site

    So when I will get request to change any thing, I will :
    – do changes on test blog site
    – if every thing good with test blog site, then move to staging blog site
    – and at the end do changes on the production blog site

    Thread Starter skystar1111

    (@skystar1111)

    I don’t know if Network solution is good for me. I also want two different database, I think in network, you can only have one database.

    Here is more explanation what I am doing:

    on my local machine, I set up two blogs.

    Step 1:I set up two sites as follow:
    https://test1/
    https://test2/
    Step 2:two databases:
    wordpress1
    wordpress2

    step 3: change the db information in the wp-config.php for each site
    For https://test1/ as follow:

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'wordpress1');
    
    /** MySQL database username */
    define('DB_USER', 'test1_user');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'test');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    For https://test2/ as follow:

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'wordpress2');
    
    /** MySQL database username */
    define('DB_USER', 'test2_user');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'test');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    step 4: change the site URL in the wp-config.php for each site
    For Test1:

    define('WP_HOME','https://localhost');
    define('WP_SITEURL','https://localhost');

    For Test2:

    define('WP_HOME','https://test2');
    define('WP_SITEURL','https://test2');

    here only one site is working with URL https://localhost, but not the other one with URL https://test2.

    So thing is that that only localhost URL is working, not any other, even I follow same steps for other site too.
    Is it even possible?
    Do I need to change php.ini file?
    I do not want to do this on my production server, only on my test server.

    Thread Starter skystar1111

    (@skystar1111)

    thanks Robin for your reply.
    I am Microsoft .Net Developer, it is first time I am working on blog site. This will help me a lot.

    Thread Starter skystar1111

    (@skystar1111)

    can anyone help me please?

    Thread Starter skystar1111

    (@skystar1111)

    I am sorry correction of the previous post, I did not find how to edit my post.
    Theme is customize

    Thread Starter skystar1111

    (@skystar1111)

    thanks for the answer that it is not the part of CSS.
    Thanks is customize.

    I test the following CSS on new SideBar, it is working fine in Firefox, but in border radius not working in Firefox.

    font-size:90%;
    background:#216DAB;
    padding:2px 0 3px 10px;
    margin:0;
    color:#FFF;
    font-family:verdana,arial,sans-serif;
    font-weight:bold;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 10px;
    border-radius: 10px 10px 0px 0px;

    thanks again for all your help!

    Thread Starter skystar1111

    (@skystar1111)

    Thanks alchymyth for your quick reply.

    Yes I have the same code as:

    register_sidebar(array('name'=>'sidebar3',
    	'before_widget' => '<li id="%1$s" class="widget %2$s">',
    	'after_widget' => '</li>',
    	'before_title' => '<h3>',
    	'after_title' => '</h3>',
    	));

    but I don’t know what CSS setting display in firebug as follow:
    <canvas style=”position:absolute;top:-0px;left:-0px;” height=”8px” width=”8px”></canvas>

    I need to work on rounded corners of tag <h3>

    thanks again!

Viewing 8 replies - 1 through 8 (of 8 total)