Using the Admin Panel:
http://www.example.com/test/wordpress/wp-admin
http://www.example.com/wordpress
(assuming old URL http://www.example.com/test/wordpress
) http://www.example.com/wordpress
Eg: % mv /var/www/test/wordpress /var/www/wordpress
http://www.example.com/wordpress
Alternatively, you can change the WordPress database entries like this:
<wordpress>/wp-login.php
, and find this line: require( dirname(__FILE__) . '/wp-load.php' );
and insert the following lines below:
//FIXME: do comment/remove these hack lines. (once the database is updated) update_option('siteurl', 'http://www.example.com/wordpress' ); update_option('home', 'http://www.example.com/wordpress' );
http://www.example.com/wordpress
<wordpress>/wp-login.php
.In phpMyAdmin, you can edit the WordPress database as follows:
Table wp-options | |
---|---|
option_name | option_value |
siteurl | http://www.example.com/wordpress |
home | http://www.example.com/wordpress |
fileupload_url | Edit as needed (if this exists) |
<themename>_theme_options | Edit as needed |
_menu_item_url | Several entries that need editing |
References
Comment out any references to get_the_date()
and get_the_time()
:
<?php echo get_the_date(); ?> <?php echo get_the_time(); ?>
Edit the following theme pages (in <wordpress>/wp-content/themes/<activetheme>
) to remove date/time entries in posts or pages:
index.php
single.php
, post.php
, post-single.php
archive.php
category.php
page.php
References
Login to <sitedomain>/en/wp-admin/
to update the content: