diff --git a/Gruntfile.js b/Gruntfile.js index 05990732..10aa18ab 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -43,4 +43,6 @@ grunt.registerTask( "build", [ "build-xml-full" ]); +grunt.registerTask( "deploy", [ "wordpress-deploy", "deploy-redirects" ] ); + }; diff --git a/redirects.json b/redirects.json index a0cde17c..ba33f9dd 100644 --- a/redirects.json +++ b/redirects.json @@ -1,3 +1,4 @@ { - "/api/": "/resources/api.xml" + "/api/": "/resources/api.xml", + "/extending-ajax/": "/jQuery.ajax/#extending-ajax" }