Permalinks keep reverting to 404 unless I re-save them
Same problem for the last few weeks, using nginx not apache, Switching rule saving, then switching rule back and saving fixes it for a day…
Same problem for the last few weeks, using nginx not apache, Switching rule saving, then switching rule back and saving fixes it for a day…
Multisite setup on VVV with bedrock
The problem was the sql database that did not update urls. I do not know if there is a way to do this easily but I feel like I have looked everywhere for this solution and finally found it with this answer to a somewhat similar question : https://premium.wpmudev.org/forums/topic/how-to-change-url-for-wp-multi-site#post-426799 I started over from where everything … Read more
wp-admin Redirects to Docker Container Name
Create subdomain masking for each user in WordPress
Giving WordPress its own subdirectory – nginx
It turns out that it’s the require(‘../wp-blog-header.php’); part who caused the HTTP 404 error. I replaced the header code with: status_header(200); nocache_headers(); Both are part of WordPress API. And the problem went away. I found this solution from: http://wordpress.org/support/topic/integrating-wp-in-external-php-pages?replies=22
I’m not 100% sure how I fixed this, but I did. A few things I did: Make sure you clear your cookies, or test in an incognito window. Login cookies caused me some problems. I replaced my nginx rewrites with: rewrite ^/(site1/|site2/|site3/)?(wp-(content|admin|includes).*)$ /wp/$2 break; rewrite ^/(?!wp/)(site1/|site2/|site3/)?(.*\.php)$ /wp/$2 break; Because I’m dealing with a small network … Read more
so @funkysoul was kind of right in terms on installing php. It was still a nightmare to setup nginx the way i needed it, my solution is: location / { try_files $uri $uri/ =404; } location ^~ /blog { alias /srv/www/wordpress; try_files $uri $uri/ /index.php?/$1 last; location ~ \.php$ { index index.php; include snippets/fastcgi-php.conf; fastcgi_param … Read more
Hi @jschoolcraft: Does this articles address your question? WordPress, Nginx and WP Super Cache If not, maybe there would be something in these? HOWTO: Install WordPress On Nginx WordPress + nginx Compatibility Plugin Howto nginx + wordpress + ubuntu shortest setup Nginx front-end proxy cache for WordPress WordPress Pretty Permalinks with Nginx