=== Rc2i Content Pruning === Contributors: baptisterey Tags: seo, links, content pruning, google search console, internal links Requires at least: 5.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.8 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Complete content pruning and optimization tool for WordPress. Analyze your links, traffic, and identify underperforming content. == Description == Rc2i Content Pruning is a comprehensive WordPress plugin for analyzing and optimizing your content. It helps you identify underperforming pages, manage outbound and internal links, detect broken links, and make informed decisions to improve your SEO. = Main Features = **Outbound Links** * Automatic scan of all outbound links on your site * HTTP status verification (200, 301, 404, 500, etc.) * Bulk deletion of broken links * Link editing (URL, anchor, target, nofollow) * Purge and complete rescan * Domain exclusion (YouTube, social networks, etc.) **Internal Links** * Analysis of your site's internal linking structure * Detection of pages without internal links * Visualization of internal links per page **Incoming Links** * Identification of orphan pages (no internal links pointing to them) * Incoming link statistics per page * Page distribution chart **Page Traffic** * Integration with Google Search Console * Impressions, clicks, CTR, and average position data * Search Console keywords per page * Identification of pages without impressions * Page deletion with automatic 301 redirect **Additional Tools** * Article debug (detailed link analysis of an article) * Bulk comment deletion * 301 redirect management = Google Integration = The plugin connects to Google Search Console via OAuth 2.0 to retrieve real traffic data for your site. No Google Cloud project is needed in Simple mode. == External Services == This plugin connects to external services to retrieve traffic and search data for your website. All connections require explicit user consent through OAuth 2.0 authentication. = OAuth Relay Server = * **What it is:** A relay server operated by Rc2i (hosted at seopilote.fr) that handles Google OAuth authentication on behalf of the plugin * **What it's used for:** Securely managing the OAuth 2.0 flow so users don't need to create a Google Cloud project. The relay exchanges authorization codes for access tokens using credentials stored server-side. * **Data sent:** OAuth authorization code, exchange tokens * **Data NOT sent:** The relay never receives your Google Search Console data. All API data calls are made directly from your WordPress site to Google. * **When:** When you click "Connect to Google" in the plugin settings * **Service URL:** https://seopilote.fr/relay * **Privacy Policy:** https://rc2i.net/privacy * **Terms of Service:** https://rc2i.net/terms = Google OAuth 2.0 = * **What it is:** Google's authentication service * **What it's used for:** Authenticating users to access Google Search Console API * **Data sent:** Authorization code, client credentials (Client ID) * **When:** When you click "Connect to Google" in the plugin settings * **Privacy Policy:** https://policies.google.com/privacy * **Terms of Service:** https://policies.google.com/terms = Google Search Console API = * **What it is:** Google's API for accessing Search Console data * **What it's used for:** Retrieving search impressions, clicks, CTR, position data, and keywords for your pages * **Data sent:** Your website URL, date ranges for data queries * **When:** When you click "Synchronize traffic data" in the Traffic tab * **API Documentation:** https://developers.google.com/webmaster-tools * **Privacy Policy:** https://policies.google.com/privacy * **Terms of Service:** https://developers.google.com/terms **Important:** The plugin does not send any data to Google without your explicit consent and authentication. In Advanced mode, you can provide your own Google Cloud credentials instead of using the relay server. == Installation == 1. Download the plugin ZIP file 2. In your WordPress dashboard, go to Plugins > Add New 3. Click "Upload Plugin" and select the ZIP file 4. Activate the plugin 5. Access the "Content Pruning" menu in the admin sidebar 6. Go to Settings tab and click "Connect to Google" to authorize Search Console access == Frequently Asked Questions == = Does the plugin work without Google connection? = Yes. The outbound, internal, and incoming link scan features work without any Google configuration. Google integration is only necessary for the "Page Traffic" tab. = What types of content are scanned? = The plugin scans published posts and pages. Meta field content is also analyzed. = How do I exclude certain domains from the scan? = Go to the "Settings" tab and add domains to exclude (one per line). For example: youtube.com, facebook.com, etc. = Does deleting a page create a redirect? = Yes. When you delete a page from the "Page Traffic" tab, the plugin moves the page to trash and automatically creates a 301 redirect to the URL of your choice (home page by default). = Does the plugin slow down my site? = No. The plugin only works in the admin interface. It does not add any scripts or styles to your site's front-end (except for 301 redirect management). == Screenshots == 1. Outbound Links tab - Overview with statistics 2. Internal Links tab - Internal linking structure 3. Incoming Links tab - Orphan page detection 4. Page Traffic tab - Google Search Console data 5. Settings - Excluded domains and Google API configuration == Changelog == = 1.0.8 = * Simplified Google OAuth flow (no Google Cloud project needed) * Secure OAuth relay server for credential management * Removed Google Analytics 4 dependency (Search Console only) * Improved security: Client Secret stored server-side only = 1.0.6 = * Improved 301 redirect management * Minor bug fixes = 1.0.5 = * Added Incoming Links tab * Orphan page detection * Page distribution chart = 1.0.4 = * Search Console keywords per page = 1.0.3 = * Added HTTP status verification * Bulk deletion of broken links = 1.0.2 = * Added internal link scanning * Interface improvements = 1.0.1 = * Added domain exclusion * Article debug = 1.0.0 = * Initial release * Outbound link scanning * Google Search Console integration == Upgrade Notice == = 1.0.8 = Major update: Simplified Google connection. No Google Cloud project needed. Improved security.