vtinq
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Posts Throwing 404 on .htaccess and Changed PermalinksSolved: I edited my sites-available/site.com.conf and in the <Directory /> block changed “AllowOveride None” to “AllowOveride All”.
Forum: Fixing WordPress
In reply to: Posts Throwing 404 on .htaccess and Changed PermalinksYes, that block is in my .htaccess file. I’ve tried to chmod 666 and even chmod 777 the .htaccess file. Changing permalinks elicits “Permalinks Saved” but the 404s continue.
Forum: Networking WordPress
In reply to: Multisite: Domains not UpdatedI used the following redirect code in my .htaccess file to send visitors to my WordPress multisite blog, but the browser location bar displays parent.com/child rather than the olddomain.com.
# 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] RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR] RewriteCond %{HTTP_HOST} ^www.olddomain.com$ RewriteRule (.*)$ http://www.newdomain.org$1 [R=301,L] </IfModule> Options +FollowSymLinks # END WordPressHow do I redirect olddomain.com to newdomain.org and keep the olddomain.com URL in the browser location bar?
Forum: Installing WordPress
In reply to: Nginx Customizations?Fixed. I forgot I had an index.html file in /var/www/wordpress for testing. I deleted the file, reloaded http://localhost/wordpress/?p=1 and the “Hello World!” post appeared.
Forum: Installing WordPress
In reply to: Nginx Customizations?PHP works in most areas. My Nginx.conf root is /var/www. The WordPress install is at /var/www/wordpress. I can do the install with localhost/wordpress/wp-admin/install.php. I can go to the admin page with localhost/wordpress/wp-admin. But when I try to view the site (localhost/wordpress/) or view a post (such as localhost/wordpress/hello-world), I get a blank white page.
I’m not clear on what you mean by the need to enable non-default permalinks. I changed permalinks to numeric, then entered the URL http://localhost/wordpress/archives/1 and Nginx reports “404 Not Found.”