Moving wordpress from /dir to main folder

Make sure you backup everything then: Move the content of /dir one level up, make sure you move hidden files as well (I care about the .htaccess file and maybe a .git folder) Download Search & Replace for WordPress, upload it to your server Access it with the url: http://www.xclo.co.uk/searchreplacedb2.php Follow the instructions, in brief, … Read more

Conditional config WP_HOME/WP_SITEURL does not update bloginfo(‘template_url’)?

Found the solution… the problem was due to placement of the conditional statement in the wp-config.php file. It needed to be inserted before the require_once(ABSPATH . ‘wp-settings.php’); line near the bottom of the default config file, otherwise the constants are already defined and cannot be redefined. So final section of the wp-config.php file now looks … Read more

Can I use the same Folder name as a Multisite Blog?

By default, yes, you will have conflicts. The default WordPress .htaccess rules look something like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress The -f and -d in those lines are important here. They basically … Read more

Where should I store disabled plugins?

I don’t think you need an extra directory for storing your disabled plugins. Better keep them there default location (/plugins/) and whenever you need to reactive just simple one click away! Or, if you think that plugin doesn’t help you in future, just DELETE it!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)