Neeks Posted October 4, 2017 Share Posted October 4, 2017 Page Path History Central Manager Manage all page paths history redirects in a single locations. This module is user interface for the processwrie PagePathHistory module, that creates redirects automatically every time a page is moved/renamed. These redirects do not contain regex's and they will not redirect a user away from a published page making them safe for not technical editors to create. Features Include: Ability to create new redirects Ability to remove old redirects View all the automatically created page path history redirects in your system, and delete any ones that no are no longer needed. Git repo: https://github.com/hagcin/ProcessPathHistoryCentralManager Viewing all existing redirects: Adding New Redirect: Tested on: Processwire 2.6, 3.0 Install Install the module PagePathHistory from within the Processwire admin. PagePathHistory is included in core but not installed by default. Install the module ProcessPathHistoryCentralManager by cloning this repo into site/modules/ in your processwire install. Install the module in the admin interface. You can now manage redirects under setup > page path history central manager Similar to and is compatible with PagePathHistoryManager which lets you manage page path history redirects on a specific page on the settings tab. 3 1 Link to comment Share on other sites More sharing options...
Robin S Posted October 4, 2017 Share Posted October 4, 2017 This sounds interesting but I'm not quite getting it. Could you give some examples of what kinds of scenarios this would be useful in? I thought the PagePathHistory module took care of everything automatically so you never need to think about manually creating or editing redirects. Or does this module allow you to also create redirects when there never was a page at a particular URL? e.g. /some-path-where-there-never-was-a-page/ => /some-page-that-exists/ Link to comment Share on other sites More sharing options...
Neeks Posted October 4, 2017 Author Share Posted October 4, 2017 This module both lets you create new redirects that never existed, and delete old redirects one would no longer like to have operational any more. The user story for this project was: "As an SEO specialist I want to be able to manage redirects for news articles without developer involvement." Giving them a simple tool that did not require knowledge regex seemed like the safest way to not have future developer involvement. 1 Link to comment Share on other sites More sharing options...
maxf5 Posted October 7, 2017 Share Posted October 7, 2017 didn't work as expected. how can i fix this? Link to comment Share on other sites More sharing options...
PWaddict Posted October 10, 2017 Share Posted October 10, 2017 @maxf5 Did you installed the Page Path History core module? Link to comment Share on other sites More sharing options...
maxf5 Posted October 10, 2017 Share Posted October 10, 2017 weird, i deinstalled the core module and installed it again. Now it works. Thanks nevertheless! Link to comment Share on other sites More sharing options...
Omega Posted October 17, 2017 Share Posted October 17, 2017 The module displays this error: I looked into my database and it's true: the required table "pages_paths" doesn't exist there... Any ideas? Page Path History is already installed, the table "page_path_history" exists. Link to comment Share on other sites More sharing options...
Neeks Posted October 25, 2017 Author Share Posted October 25, 2017 Updated the module to to fix the following issues: - missing $sTable variable warning in debug mode. - module now requires you to have PagePathHistory module installed - I simplified SQL, hoping that got rid of the SQL errors, though I could not reproduce them. - remove trailing slashes on "redirect from urls" since PagePathHistory requires them to be missing for redirects to work. 1 Link to comment Share on other sites More sharing options...
Andrew Watkins Posted August 14, 2018 Share Posted August 14, 2018 Hello, I just installed the module and I get the following error: 2018-08-14 13:34:14 xxxx http://xxxxxxx/admin/setup/path-history-central-manager/ Error: Call to a member function fetch_assoc() on null (line 10 of /var/share/site/modules/ProcessPathHistoryCentralManager/templateTable.php) Line 10 is "while ($row = $redirectsQueryResult->fetch_assoc()) {" but should $redirectsQueryResult be replaced with $res Is this correct? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now