WordPress database nonsense error

Nevermind, i actually accidentally didnt put back the url in nginx config file so i only had the new url. I wonder why i got a DB error instead of my generic “Nothing to see here” page

check if .min.css stylesheet exists

Directly answering your question, you should be able use the function admin_url() to get the base URL for the admin folder, and ABSPATH . ‘wp-admin’ to get the local file path to that folder. Certainly, the WordPress code itself doesn’t expect the admin folder to be named anything different. However, you should be able to … Read more

Making a site URL

In order for the site to be publicly accessible you need to host the site on a server that is publicly accessible. Your local MAMP server is almost certainly not public. There are hacks and workarounds that would let you host the site from there, but don’t. Lease a server and install your site there. … Read more

WordPress site seems convinced that it’s still at its old URL

Silly mistake on my part, At some point I defined my wp-content directories right in wp-config. define( ‘WP_CONTENT_DIR’, ‘/home/user/public_html/site/subdirectory/wp-content’ ); define( ‘WP_CONTENT_URL’, ‘http://www.seocial.ly/site/subdirectory/wp-content’ ); Completely overlooked this when editing my wp-config.

Changing the site URL

If you have access to phpmyadmin the best way in my opinion is to get WP migrate Db Plugin, then create an export sql file with new url address and upload it with PhpmyAdmin. That way you ensure that every place in the site with old url get replaced with new url in a safe … Read more

Displays url’s twice and getting 404 errors after activating

Sounds like your Apache httpd.conf is missing a virtual host entry for port 443. Listen 443 <VirtualHost *:443> ServerName www.foo.com DocumentRoot /var/www/www.foo.com/htdocs CustomLog /var/log/apache/www.foo.com-access.log combined ErrorLog /var/log/apache/www.foo.com-error.log # Example SSL configuration SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 SSLCertificateFile “/var/www/www.foo.com/ssl/server.crt” SSLCertificateKeyFile “/var/www/www.foo.com/ssl/server.key” </VirtualHost> Source: http://wiki.apache.org/httpd/ExampleVhosts