Permalinks acting weird
-
Hi guys, I was migrating from localhost to a live server and my permalinks are acting strange. I just have a couple of normal pages using the default page.php template. The pages work fine when I use the default permalink structure (https://site.com/?p=123) but when I switch to postname (https://site.com/sample-post/) all pages use the index.php, so they are showing the blog posts. I noticed that the body tag has class=”blog”. Now the very strange thing is when I change the structure to Numeric (https://site.com/archives/123) the pages work again and the work with the structure as I wished (https://site.com/about)
I have deleted the .htaccess file to make WP generate a new one but the behaviour stays the same. Does anyone knows what is going on?
- The topic ‘Permalinks acting weird’ is closed to new replies.