I have a Namecheap domain and it is somedomain.example. I accidentally changed the somedomain.example/blog/ which was in blog repository to blog.somedomain.example. Now even if I remove my CNAME record and remove the custom URL from the settings in the GitHub page setting, my somedomain.example/blog/ is still getting redirected to blog.somedomain.example.
Is there any way to remove this redirection and use it the default way as it was?
P.S There is no CNAME now in my gh-pages repository.