Cannot edit page that has redirect set

Permalink Browser Info Environment
Thanks for the module, works well. Even too well actually ;)
I get redirected away from the page even if want to edit it. This makes it impossible to actually publish the page or disable the redirect.

I fixed it by checking if the user is logged in in packages/page_redirect/controller.php :

On top, you need

use User;


Then, change the code to look like this:
//start checking if its a valid page
            if($page_selector > 0) {
                if(User::isLoggedIn()) {
                        return;
                }
}

Type: Pre-Sale
Status: Resolved
jvie
View Replies:
Mnkras replied on at Permalink Reply
Mnkras
From the sitemap page in the dashboard you can select the page, then
attributes and disable the redirect.

On Thu, Nov 26, 2015, 6:49 AM concrete5 Community <
[email protected]> wrote:
jvie replied on at Permalink Reply
jvie
Oh yes, good idea! Thanks!
jvie replied on at Permalink Reply
jvie
Most page attributes are accessible through the sitemap, even though the way to it is different. Publishing a change is a whole lot different, for example.
Unfortunately, there seems to be no way to change the URL slug through the sitemap.

I think I will revert to using the workaround above as I also find it easier to use the familiar interface to edit the page.

concrete5 Environment Information

Concrete5 5.7

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.