WordPress returning 404 for multisite pages
WordPress returning 404 for multisite pages
WordPress returning 404 for multisite pages
Page preview is shown, updating page gives 404 error
…just point Apache’s root directory to /public_html/development If you do this, I would seriously consider renaming “development” to “live” or something more meaningful, otherwise it’s going to get confusing going forward. Then you can create an .htaccess file in the document root with just the following mod_rewrite directive to rewrite everything to the /live subdirectory … Read more
WordPress admin dashboard missing icons
Point root folder to blog.domain.com and subdirectory to domain.com possible?
You shouldn’t need to add anything to .htaccess. Assuming your subdomain points to the same place on the filesystem as the main domain then you need to configure WP to accept requests to both hostnames (to prevent a canonical redirect – which is what I assume you were experiencing?). In other words, instead of hardcoding … Read more
Change pagination url format
I was able to solve the problem by adding these two lines to /var/www/my-wp-site.com/public_html/wp-config.php: define( ‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] ); define( ‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’] );
I have traced the problem to this code in wp-login.php: case ‘logout’ : check_admin_referer(‘log-out’); $user = wp_get_current_user(); wp_logout(); echo “hello”; echo $_REQUEST[‘redirect_to’]; if ( ! empty( $_REQUEST[‘redirect_to’] ) ) { $redirect_to = $requested_redirect_to = $_REQUEST[‘redirect_to’]; } else { $redirect_to = ‘wp-login.php?loggedout=true’; $requested_redirect_to = ”; } It appears if I change this line: $redirect_to = ‘wp-login.php?loggedout=true’; … Read more
In my case, these were files in /wp-content/uploads/bb-plugin/cache/ folder.