diff --git a/droogle.services.yml b/droogle.services.yml
new file mode 100644
index 0000000..dbfa147
--- /dev/null
+++ b/droogle.services.yml
@@ -0,0 +1,5 @@
+services:
+  droogle.path_processor_droogle:
+    class: Drupal\droogle\PathProcessor\DroogleOutboundPathProcessor
+    tags:
+      - { name: path_processor_outbound }
\ No newline at end of file
diff --git a/src/PathProcessor/DroogleOutboundPathProcessor.php b/src/PathProcessor/DroogleOutboundPathProcessor.php
new file mode 100644
index 0000000..a4256d2
--- /dev/null
+++ b/src/PathProcessor/DroogleOutboundPathProcessor.php
@@ -0,0 +1,26 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\droogle\PathProcessor\DroogleOutboundPathProcessor.
+ */
+
+namespace Drupal\droogle\PathProcessor;
+
+use Drupal\Core\PathProcessor\OutboundPathProcessorInterface;
+use Symfony\Component\HttpFoundation\Request;
+use Drupal\Core\Render\BubbleableMetadata;
+
+class DroogleOutboundPathProcessor implements OutboundPathProcessorInterface {
+  function processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) {
+    // Remove code query paramater from GDrive url's
+    if ($path === '/admin/content/droogle') {
+      $code = $request->query->get('code');
+      if (!empty($code)) {
+        if (array_key_exists('code' , $options['query'])) {
+          unset($options['query']['code']);
+        }
+      }
+    }
+    return $path;
+  }
+}
-- 
1.9.5.msysgit.0

