luangjokaj / wordpressify

🎈 Automate your WordPress development workflow.
http://www.wordpressify.co
MIT License
1.59k stars 140 forks source link

how to change htaccess config ? #61

Closed mehdiraized closed 4 years ago

mehdiraized commented 4 years ago

i need for plugin JWT Authentication for WP REST API https://it.wordpress.org/plugins/jwt-authentication-for-wp-rest-api/ change .htaccess but wordpressify not have .htaccess What is your solution?

luangjokaj commented 4 years ago

i need for plugin JWT Authentication for WP REST API https://it.wordpress.org/plugins/jwt-authentication-for-wp-rest-api/ change .htaccess but wordpressify not have .htaccess What is your solution?

@mehdiraized .htaccess is not supported, but you can modify the gulpfile.js to do something similar:

browserSync({
    proxy: '127.0.0.1:8020',
    middleware: [
        modRewrite([
            '(.*)\index$ $1index.php',
        ])
    ]
});