Custom Permalinks Setting in Wordpress
colas.delmas at gmail.com
Wed Mar 15 13:37:00 CET 2017
Will Varnish still work ok for sites with custom Permalinks set at
> /%postname%/ ?
Yes Varnish will still works with your custom Permalinks.
so I guess I can skip that step?
Indeed you don't need to run the step 3
You could find a more complete configuration of Varnish for Wordpress here
: https://github.com/colas31/varnish/blob/master/v4.1/wordpress.vcl it's
the one I use on my personal wordpress.
http://tutoandco.colas-delmas.fr/ <colas.delmas at gmail.com>
2017-03-15 10:28 GMT+01:00 Magical Wonders <myles at magicalwonders.com>:
> I'm working my way through the Wiki guide for configuring Varnish to work
> with Wordpress - https://www.varnish-software.com/wiki/content/tutorials/
> Two questions immediately spring up -
> Step 3 says to enable custom permalinks in Wordpress typing
> /%year%/%monthnum%/%post_id% - My existing Wordpress sites all have custom
> Permalinks. However they are mostly in the format of /%postname%/ I don't
> really want to have to change all the permalinks. Will Varnish still work
> ok for sites with custom Permalinks set at /%postname%/ ?
> The last part of Step 3 is to open a command prompt and run "ta2enmod
> rewrite" as root. Mod_rewrite must already be enabled on my server so I
> guess I can skip that step?
> Hope someone can advise.
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc