Where exactly is 'Site id' is stored in Alfresco . I know we can create Site using Create Site option from Site menu . After creation can i change / modify site id. I am not seeing that option ins 'Edit Site' menu. I can only change Display name.
Where is the 'Site id' stored in Alfresco ?
Regards
Site-id is just the node name (cm:name) of the site root folder. Unfortunately it is not supported to change that name since this name is used in other node's metadata like a foreign key.
Related
I have changed ( probably ) my wp-admin url with https://wordpress.org/plugins/change-wp-admin-login/ plugin. And forgot the permalink I've set. Now I can't access admin panel.
If this information stored somewhere in DB or in files? apache/nginx configuration etc.
Seems like it's stored in the options table in the DB. the option name is rwl_page
I am using wordpress for the academy section of my website. The database of the academy section is different from my website's database but unfortunately I have used the DB_NAME variable for defining database name in my main website's config file which is same in wp-config file. Since I need to access both the databases at any time and any page no matter it belongs to the academy section or to the main website, it's giving me error of can't select the database. Can any one suggest how I can change the DB_NAME variable to something else in wp-config file to avoid the conflict?
You can have multiple WordPress installs in one database, as long as they have different prefixes. You can change the prefix in your wp_config.php on line 69 to something you'd like:
$table_prefix = 'your_desired_prefix_';
I have a website is some domain lets say 'x', and I want to install WordPress with Softaculous.
I want to know if I finish the installation, my current website on domain 'x', will still work until I publish my WordPress website or not?
Here is a screenshot, where I need to choose the domain name:
Thank you.
New WordPress can override your old WordPress if you:
use the same directory for files (so, use other, empty directory)
use the same database (so, use new database)
use the same database prefix, default: wp_ (if you have to use the same database be sure if you use other prefix, e.g. wp2_)
I don't know what is your goal. Do you want to have two instances of WP at the same domain?
I wanted to change the name of the folder or the directory of my website. I had it like this: www.example.com/wordpress but then I changed the sub directory to another name and then I also changed it inside WP in Settings -> General. But then something happend and I can't access the admin of the website any more :(
Is there a way to change back inside some of the files? Help is preciated!
This is well-documented on the official WordPress website:
http://codex.wordpress.org/Changing_The_Site_URL
Since you first renamed the folder and then tried to change the site URL from Settings, WordPress never had a chance changing the option, since its requests would already result in a 404 Not found.
You can:
renamed you folder back to its original name, login, change the option to the new value, and then rename the folder to its new name. Or...
access your database using a tool such as phpMySQL, and in the wp_options table, find the rows where their option_name is site_url and home
Either one of these should do the trick.
Here is the situation: some friends had an old web site with wordpress running on it, and lost the domain name and hosting account through some shenanigans we won't discuss here. I have a full backup of their site, including a wordpress export file in XML.
I can easily create a completely new wordpress installation on their new server, using the export file to import all their posts into the database.
The problem is here: I can't use the importer to pull over the images and attachments using that XML file, because the links are incorrectly pointing to the now non-existant old site. I have the images and attachments, but now I'm wondering how can I bulk upload them into the new database's media library and maintain, or update, the links to them properly?
Scanning the wordpress support site and looking through the plugins list yields far too many hits that have nothing to do with what I am trying to accomplish.
I've tried modifying the export XML file to tell it to pull files from a local drive instead of the old host, by modifying attachment posts' <wp:attachment_url> entry, but this did not work. If someone knows what particular field the wordpress-importer is using, that would be quite a help, I think.
This will work only if , like you stated in your question - you have the FULL BACKUP of the site ( files AND database )
1 - FTP Put all the original wp folder structure from OLD site into NEW server as - is .
2 - login to phpmyadmin and import the OLD database .
3 - run SQL like so :
/**
To update WordPress options with the new blog location, use the following SQL command:
**/
UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
/**
After that you will need to fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. The URL values in this field are stored as abolute URLs instead of relative URLs, so it needs to be changed with the following SQL query:
**/
UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');
/**
If you have linked internally within blog posts or pages with absolute URLs, these links will point to wrong locations after you move the blog location. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages:
**/
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
Later , Just to verify , go to the wp_options ( or prefix_options ) table and search for home_url and blog_url options - and see if they are accordingly change ( this depends on DB version )
If all is ok and done correctly - you now can log in to your new domain..
BTW - If you have files and DB on local machine , you can run the changes, export and import to the DB already changed .. ( which is how I usually do it almost on a daily basis - a bit more time but fool proof )
If you do all the above correctly , and you did have the ORIGINAL DB and files exactly from before - you will have a new working copy on the new domain .
Basically, if you do that correctly , there is no need to "import" any images . you will be performing a simple move of domain for the whole site, including plugins, content, images, settings, themes and what not ..
Note on upgrades / version: when I wrote "original" wp folder structure I meant just that . even if it an old wp version and old plugins / themes - first do those steps above , and only then run an upgrade . Do not put a new wp version unless you know the old one is db compatible ...