Skip to content

redirection #176

@jheinecke

Description

@jheinecke

Hi
is it possible to retrieve a non-directed page? In contrast to the doc,

import wptools
wptools.page('Gandhi')

returns the redirection to Mahatma Gandhi and not the redirection page itself? I would like to know whether a request has been redirected or not. Of course I could check in data["redirects"] but I'd like to have the original page and the name of the page which the redirection points to

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions