• I have page redirection plugin that redirects a page to another page in the same wordpress and I can’t generate that post/page since it seen as valid but Not a local URL but if you check it it’s still in the same server

    I’m using redirection since some of my code is for a page that can be viewed by 2 kids of user a teacher and student which is inside a single post the php detects if its coming from a /teacher then it displays additional information for teachers to use and when viewing from /student it will display the default lesson. (I made it this way so only one input for teacher and student since they have the same content only teachers have a few extra, save input time)

    The plugin generates the student link since it’s the default but the redirection i made for the teachers can’t be generated even though it’s from the same server

    ex:
    https://192.168.64.2/schoolname/student/lvl6/study/2/ is valid OK
    https://192.168.64.2/schoolname/teacher/lvl6/study/2/ is valid Not a local URL

    what can I do to generate this pages?

  • The topic ‘Redirection + Not a local URL’ is closed to new replies.