Hi Nicolas,

Thanks for the confirmation. :-) Also, thanks for the link showing VCL settings for Wordpress. One of my sites is using WooCommerce and it looks like it's got that covered! I have a couple of other possible items I think I'll need to exclude but need to check further.

Best wishes,

Myles


On 15/03/2017 12:37, Nicolas Delmas wrote:
Hi,

    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.

Best regards


*Nicolas Delmas*
http://tutoandco.colas-delmas.fr/ <mailto:[email protected]>







2017-03-15 10:28 GMT+01:00 Magical Wonders <[email protected] <mailto:[email protected]>>:

    I'm working my way through the Wiki guide for configuring Varnish
    to work with Wordpress -
    
https://www.varnish-software.com/wiki/content/tutorials/wordpress/wp_step_by_step.html
    
<https://www.varnish-software.com/wiki/content/tutorials/wordpress/wp_step_by_step.html>

    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.

    Myles



    _______________________________________________
    varnish-misc mailing list
    [email protected] <mailto:[email protected]>
    https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
    <https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc>



_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to