Child theme redirecting
-
Dear all,
I am developing some functionalities within a child theme. As a base, I am using Twentyseventeen theme. I found an issue when activating my child theme and it is that the blog page is getting broken. If I go back and activate the parent theme, the blog page works smooth and like it is supposed to do, but when I activate the child theme, when opening the same URL, it redirects to a concrete PHP file of my child theme: https://www.iexpressmyself.com/blog/Model/Logic/pro_getStudents.php.
I have no idea what could be the cause of this issue. I searched in my project files where I am mentioning that file and there is only 1 code line where I am doing a header(location…) to that URL and it is called when going to a specific menu and clicking on a concrete menu item.
I removed a WP plugin I was using for redirecting to check that was not the cause, but still the same issue. I have created a new page called “News” and then in “Settings->Reading, make sure the “static page” option is marked and selected the “News” page as blog, click on save, go again to press on “news” and it takes me to the very same redirection (https://www.iexpressmyself.com/news/Model/Logic/pro_getStudents.php).
Despite the page “alone” is not working, if I add it as a section to the Front Page Section Content, it shows perfectly fine the last posts… I also checked everything is fine within the appearance configurations.
If I go to the page configuration itself, I am sure the permalink is correct, anyways if I edit it and re-write it again, I am getting the same redirection if I click on the permalink. I do not know where else to look for this issue or what can be causing it. I have no access to the server, so there is no code addition to .htaccess to create redirections and there are no custom rules in my WordPress theme.
Thank you very much for your support.
Best regardsThe page I need help with: [log in to see the link]
- The topic ‘Child theme redirecting’ is closed to new replies.