WP forwarding to wrong site address

You may have some problem with JavaScript on your website, with the hardcoded URLs. As I can see you are trying to create the test environment. This is good, and I like people creating the test environments. You need to go to through your code, JavaScript and PHP to seek for the hardcoded URLs. Also … Read more

Creating a copy of a website in a subdirectory, wp-admin redirect problem

If it’s a standard WordPress .htaccess file that won’t be your problem. I’m willing to bet you forgot to change the Site URL values when you imported the database. You can either edit it in the options table in your database or even in your wp-config file by adding define(‘WP_HOME’, ‘http://mainwebsite.com/test’); define(‘WP_SITEURL’, ‘http://mainwebsite.com/test’); to it. … Read more

Instant install of wordpress

Update: You can use WordPress QI – http://wpquickinstall.com/download/ Not all servers can run SVN, and servers which have problem in WP 5minute install, can’t be cope up with another solution because there is no solution, sometimes server settings are to blame. That said, on a server where everything works fine for a regular installation, WordPress … Read more

Get plugin download URL from slug

I forget exactly if the plugin slug is a reliable method to get the url, it might be in most cases but not all due to how plugins are named. You can query the api @wordpress.org for the plugins xml file which also contains the download link. For example: $plugin_slug = ‘akismet’; $return_plugin_info = “http://api.wordpress.org/plugins/info/1.0/$plugin_slug.xml” … Read more

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