Hot answers tagged

3

Unsurprisingly so since you tell browser to cache everything for 1 month by default (ExpiresDefault "access plus 1 month"). You should limit long caching times to static resources and leave pages served by WP out of it. My go to resource for .htaccess configuration is HTML5 Boilerplate. It works with WP nicely and correctly excludes web pages from ...


3

What causes /pages/ to appear in URI? As it turned out, you had a parent page with slug pages. How to remove it? Don't have a parent page. is there an easy way to prevent child pages from showing the parent page in the URI? This has been asked and answered countless times, for example here, you can find more here. Im not going to duplicate ...


2

For the sake of clarity, this should be your .htaccess RewriteEngine On RewriteBase /zingery/wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /zingery/wordpress/index.php [L]


1

No, you'd want a rewrite rule that captures & redirects the request: RewriteEngine On RewriteBase / RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]


1

There is actually nothing unique about setting multisite on XAMPP, all you need to do is properly configure the webserver as a proper webserver, and skip the lazy practice of using localhost as your site domain. Select some random domain you are not likely to use in your web use, edit your hosts file to point that domain to 127.0.0.1, and set the vhost in ...



Only top voted, non community-wiki answers of a minimum length are eligible