Title: Cannot activate plugin on a subdirectory
Last modified: April 10, 2023

---

# Cannot activate plugin on a subdirectory

 *  Resolved [Indi1](https://wordpress.org/support/users/kyndhi1/)
 * (@kyndhi1)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cannot-activate-plugin-on-a-subdirectory/)
 * Hi, I cannot create the connection between Woocommerce and PayPal, this is in
   a subdirectory where there is another WordPress installation. The PayPal bridge/
   plugin creates the API on PayPal website but not webhooks. If I can create the
   webhooks manually, and establish a manual connection on WordPress/Woocommerce
   but the PayPal button won’t show up on any webpage. I have two versions of my
   website but I don’t use any multisite plugins. The website domain contains an
   English version, where this plugin is installed and works as expected, but there
   is a subdirectory/folder where there is a translated Spanish version of the website,
   here is where the plugin cannot be connected. I installed another PayPal plugin
   on the Spanish version and the connection works, but I am hesitant to use it 
   because is not official from woocommerce. I appreciate any advice you can provide.
   thanks
 * System status
 *     ```wp-block-code
       WordPress Environment
   
       WordPress address (URL): https://www.mywebsite.com/espanol
       Site address (URL): https://www.mywebsite.com/espanol
       WC Version: 7.5.1
       REST API Version: ✔</img> 7.5.1
       WC Blocks Version: ✔</img> 9.6.6
       Action Scheduler Version: ✔</img> 3.5.4
       Log Directory Writable: ✔</img>
       WP Version: 6.2
       WP Multisite: –
       WP Memory Limit: 256 MB
       WP Debug Mode: –
       WP Cron: ✔</img>
       Language: es_ES
       External object cache: –
   
       Server Environment
   
       Server Info: Apache
       PHP Version: 8.1.9
       PHP Post Max Size: 1 GB
       PHP Time Limit: 600
       PHP Max Input Vars: 1000
       cURL Version: 7.58.0
       OpenSSL/1.1.1
   
       SUHOSIN Installed: –
       MySQL Version: 8.0.30-0ubuntu0.20.04.2
       Max Upload Size: 1 GB
       Default Timezone is UTC: ✔</img>
       fsockopen/cURL: ✔</img>
       SoapClient: ✔</img>
       DOMDocument: ✔</img>
       GZip: ✔</img>
       Multibyte String: ✔</img>
       Remote Post: ✔</img>
       Remote Get: ✔</img>
   
       Database
   
       WC Database Version: 7.5.1
       WC Database Prefix: wp_
       Tamaño total de la base de datos: 21.81MB
       Tamaño de los datos de la base de datos: 17.39MB
       Tamaño del índice de la base de datos: 4.42MB
       wp_woocommerce_sessions: Datos: 1.02MB + Índice: 0.02MB + Motor InnoDB
       wp_woocommerce_api_keys: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_woocommerce_attribute_taxonomies: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_woocommerce_downloadable_product_permissions: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
       wp_woocommerce_order_items: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_woocommerce_order_itemmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_woocommerce_tax_rates: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
       wp_woocommerce_tax_rate_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_woocommerce_shipping_zones: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_woocommerce_shipping_zone_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_woocommerce_shipping_zone_methods: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_woocommerce_payment_tokens: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_woocommerce_payment_tokenmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_woocommerce_log: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_actionscheduler_actions: Datos: 0.16MB + Índice: 0.16MB + Motor InnoDB
       wp_actionscheduler_claims: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_actionscheduler_groups: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_actionscheduler_logs: Datos: 0.06MB + Índice: 0.03MB + Motor InnoDB
       wp_commentmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_comments: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
       wp_links: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_litespeed_url: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_litespeed_url_file: Datos: 0.02MB + Índice: 0.08MB + Motor InnoDB
       wp_mgmlp_folders: Datos: 0.08MB + Índice: 0.00MB + Motor InnoDB
       wp_nextend2_image_storage: Datos: 0.05MB + Índice: 0.02MB + Motor InnoDB
       wp_nextend2_section_storage: Datos: 0.20MB + Índice: 0.06MB + Motor InnoDB
       wp_nextend2_smartslider3_generators: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_nextend2_smartslider3_sliders: Datos: 0.06MB + Índice: 0.03MB + Motor InnoDB
       wp_nextend2_smartslider3_sliders_xref: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_nextend2_smartslider3_slides: Datos: 0.05MB + Índice: 0.11MB + Motor InnoDB
       wp_options: Datos: 3.13MB + Índice: 0.14MB + Motor InnoDB
       wp_po_plugins: Datos: 0.44MB + Índice: 0.33MB + Motor InnoDB
       wp_postmeta: Datos: 2.47MB + Índice: 0.84MB + Motor InnoDB
       wp_posts: Datos: 6.52MB + Índice: 0.45MB + Motor InnoDB
       wp_shortpixel_folders: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_shortpixel_meta: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_shortpixel_postmeta: Datos: 0.02MB + Índice: 0.08MB + Motor InnoDB
       wp_term_relationships: Datos: 0.13MB + Índice: 0.08MB + Motor InnoDB
       wp_term_taxonomy: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_termmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_terms: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_usermeta: Datos: 0.05MB + Índice: 0.03MB + Motor InnoDB
       wp_users: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
       wp_wc_admin_note_actions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_wc_admin_notes: Datos: 0.05MB + Índice: 0.00MB + Motor InnoDB
       wp_wc_category_lookup: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_wc_customer_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_wc_download_log: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_wc_order_coupon_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_wc_order_product_lookup: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
       wp_wc_order_stats: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
       wp_wc_order_tax_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
       wp_wc_product_attributes_lookup: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_wc_product_download_directories: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_wc_product_meta_lookup: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
       wp_wc_rate_limits: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_wc_reserved_stock: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_wc_tax_rate_classes: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_wc_webhooks: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_wpfm_backup: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_wpforms_tasks_meta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_wpmailsmtp_debug_events: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_wpmailsmtp_tasks_meta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_wt_iew_action_history: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_wt_iew_mapping_template: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
       wp_yoast_indexable: Datos: 1.52MB + Índice: 0.41MB + Motor InnoDB
       wp_yoast_indexable_hierarchy: Datos: 0.08MB + Índice: 0.14MB + Motor InnoDB
       wp_yoast_migrations: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
       wp_yoast_primary_term: Datos: 0.05MB + Índice: 0.03MB + Motor InnoDB
       wp_yoast_seo_links: Datos: 0.25MB + Índice: 0.16MB + Motor InnoDB
   
       Post Type Counts
   
       attachment: 1252
       mgmlp_media_folder: 77
       nav_menu_item: 41
       page: 28
       post: 1282
       product: 23
       product_variation: 53
       revision: 1
       wcps: 1
       wcps_layout: 1
       wpcf7_contact_form: 1
       wpforms: 1
   
       Security
   
       Secure connection (HTTPS): ✔</img>
       Hide errors from visitors: ✔</img>
   
       Active Plugins (17)
   
       All-in-One WP Migration: por ServMask – 7.73
       Enable Media Replace: por ShortPixel – 4.1.0
       FCP Yoast FAQ Toggleable: por Firmcatalyst
       Vadim Volkov – 1.0.0
   
       Heartbeat Control by WP Rocket: por WP Rocket – 2.0
       Plugin Organizer: por Jeff Sterup – 10.1.9
       Smart Slider 3: por Nextend – 3.5.1.14
       Table of Contents Plus: por Michael Tran – 2302
       Ultimate Blocks: por Ultimate Blocks – 2.5.8
       Checkout Field Editor for WooCommerce: por ThemeHigh – 1.8.2
       WooCommerce PayPal Payments: por WooCommerce – 2.0.4
       PDF Invoices & Packing Slips for WooCommerce: por WP Overnight – 3.4.0
       Product Slider for WooCommerce by PickPlugins: por PickPlugins – 1.13.44
       WooCommerce: por Automattic – 7.5.1
       Yoast SEO: por Equipo Yoast – 20.4
       WP Mail SMTP: por WPForms – 3.7.0
       WP Super Cache: por Automattic – 1.9.4
       WPForms Lite: por WPForms – 1.8.1.1
   
       Inactive Plugins (10)
   
       Autoptimize: por Frank Goossens (futtta) – 3.1.6
       Cart All In One For WooCommerce: por VillaTheme – 1.1.11
       Contact Form 7: por Takayuki Miyoshi – 5.7.5.1
       Health Check & Troubleshooting: por The WordPress.org community – 1.6.0
       Media Library Folders: por Max Foundry – 8.0.6
       Media Library Folders Reset: por Max Foundry – 8.0.6
       Order Export & Order Import for WooCommerce: por WebToffee – 2.3.2
       WordPress Importer: por wordpressdotorg – 0.8
       WP File Manager: por mndpsingh287 – 7.1.8
       Yoast Duplicate Post: por Enrico Battocchi & Team Yoast – 4.5
   
       Dropin Plugins (1)
   
       advanced-cache.php: advanced-cache.php
   
       Must Use Plugins (1)
   
       Plugin Organizer MU: por Jeff Sterup – 10.1.9
   
       Settings
   
       API Enabled: –
       Force SSL: –
       Currency: USD ($)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: external (external)
       grouped (grouped)
       simple (simple)
       subscription (subscription)
       variable (variable)
       variable subscription (variable-subscription)
   
       Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
       exclude-from-search (exclude-from-search)
       featured (featured)
       outofstock (outofstock)
       rated-1 (rated-1)
       rated-2 (rated-2)
       rated-3 (rated-3)
       rated-4 (rated-4)
       rated-5 (rated-5)
   
       Connected to WooCommerce.com: –
       Enforce Approved Product Download Directories: ✔</img>
       Order datastore: WC_Order_Data_Store_CPT
   
       WC Pages
   
       Base de la tienda: #11 - /rentas-audiovisuales/
       Carrito: #12 - /carrito/
       Finalizar compra: #13 - /pagar/
       Mi cuenta: ❌</img> La visibilidad de la página debe ser pública
       Términos y condiciones: ❌</img> Página sin definir
   
       Theme
   
       Name: mywebsite
       Version: 2.1.8
       Author URL: https://www.mywebsite.com/espanol/
       Child Theme: ❌</img> – Si estás modificando WooCommerce en un tema padre que no has creado personalmente
       te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo
   
       WooCommerce Support: ✔</img>
   
       Templates
   
       Overrides: wellington/woocommerce/archive-product.php
       wellington/woocommerce/checkout/cart-errors.php
       wellington/woocommerce/checkout/form-billing.php
       wellington/woocommerce/checkout/form-checkout.php
       wellington/woocommerce/checkout/form-coupon.php
       wellington/woocommerce/checkout/form-login.php
       wellington/woocommerce/checkout/form-pay.php
       wellington/woocommerce/checkout/form-shipping.php
       wellington/woocommerce/checkout/order-receipt.php
       wellington/woocommerce/checkout/payment-method.php
       wellington/woocommerce/checkout/payment.php
       wellington/woocommerce/checkout/review-order.php
       wellington/woocommerce/checkout/terms.php
       wellington/woocommerce/checkout/thankyou.php
       wellington/woocommerce/content-product-cat.php
       wellington/woocommerce/content-product.php
       wellington/woocommerce/content-single-product.php
       wellington/woocommerce/content-widget-price-filter.php
       wellington/woocommerce/content-widget-product.php
       wellington/woocommerce/content-widget-reviews.php
       wellington/woocommerce/product-searchform.php
       wellington/woocommerce/single-product-reviews.php
       wellington/woocommerce/single-product.php
       wellington/woocommerce/taxonomy-product-attribute.php
       wellington/woocommerce/taxonomy-product-cat.php
       wellington/woocommerce/taxonomy-product-tag.php
   
       WooCommerce PayPal Payments
   
       Onboarded: –
       Shop country code: US
       WooCommerce currency supported: ✔</img>
       Advanced Card Processing available in country: ✔</img>
       Pay Later messaging available in country: ✔</img>
       Webhook status: –
       Vault enabled: –
       Logging enabled: –
       Reference Transactions: –
       Used PayPal Checkout plugin: –
       Tracking enabled: –
   
       Admin
   
       Enabled Features: activity-panels
       analytics
       coupons
       customer-effort-score-tracks
       import-products-task
       experimental-fashion-sample-products
       shipping-smart-defaults
       shipping-setting-tour
       homescreen
       marketing
       multichannel-marketing
       mobile-app-banner
       navigation
       onboarding
       onboarding-tasks
       remote-inbox-notifications
       remote-free-extensions
       payment-gateway-suggestions
       shipping-label-banner
       subscriptions
       store-alerts
       transient-notices
       woo-mobile-welcome
       wc-pay-promotion
       wc-pay-welcome-page
   
       Disabled Features: minified-js
       new-product-management-experience
       product-variation-management
       settings
   
       Daily Cron: ✔</img> Next scheduled: 2023-04-11 15:40:36 +00:00
       Options: ✔</img>
       Notes: 47
       Onboarding: completed
   
       Action Scheduler
   
       Cancelada: 2
       Oldest: 2023-04-01 20:04:03 +0000
       Newest: 2023-04-05 17:18:46 +0000
   
       Completo: 503
       Oldest: 2023-03-26 21:40:22 +0000
       Newest: 2023-04-10 22:05:09 +0000
   
       Fallida: 25
       Oldest: 2023-02-16 00:19:49 +0000
       Newest: 2023-04-10 14:00:36 +0000
   
       Pendiente: 9
       Oldest: 2023-04-11 10:44:06 +0000
       Newest: 2023-04-17 14:00:36 +0000
   
       Status report information
   
       Generated at: 2023-04-10 22:25:43 +00:00
       `
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/cannot-activate-plugin-on-a-subdirectory/#post-16649719)
 * Hi [@kyndhi1](https://wordpress.org/support/users/kyndhi1/),
 * Did you possibly clone the primary site with a plugin?
   When the site is cloned,
   then it may also clone cached db items like the signup URL for the onboarding
   wizard.
 * You could try manually connecting your API credentials as described here: [https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input](https://woocommerce.com/document/woocommerce-paypal-payments/#manual-credential-input)
 * Or when you are not yet connected, you could try inserting any fake credentials
   manually (e.g. `x` in all four fields), so you have access to the settings, then
   from the bottom of the Connection tab, click `Clear now`.
   This removes all options
   and scheduled actions from the database so you can set up the plugin from scratch
   using the onboarding wizard: [https://woocommerce.com/document/woocommerce-paypal-payments/#connect-paypal-account](https://woocommerce.com/document/woocommerce-paypal-payments/#connect-paypal-account)
 * Please let us know how this works for you. Thanks!
 * Kind regards,
   Niklas
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-on-a-subdirectory/#post-16798027)
 * It has been some time since the last post in this thread, and we have not heard
   back regarding the issue with activating the plugin on a subdirectory. We hope
   the provided advice has helped you resolve the problem.
 * Since we have not received any recent updates, I’ll be marking this thread as
   resolved. If the issue persists or if you have any other questions, please don’t
   hesitate to reopen this thread or start a new one.
 * Thank you for your cooperation.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot activate plugin on a subdirectory’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-on-a-subdirectory/#post-16798027)
 * Status: resolved