Debian upgrade from 7 to 9 - no sub pages display now.
-
@wls-itguy said in Debian upgrade from 7 to 9 - no sub pages display now.:
I thought it had to do with permalinks inside Wordpress but that didn't fix it.
Seems like permalinks to me too....
-
Any caching plugins?
-
@aaronstuder said in Debian upgrade from 7 to 9 - no sub pages display now.:
@wls-itguy said in Debian upgrade from 7 to 9 - no sub pages display now.:
I thought it had to do with permalinks inside Wordpress but that didn't fix it.
Seems like permalinks to me too....
That's what I thought as well but when I went to that page and hit save nothing changes.
@aaronstuder said in Debian upgrade from 7 to 9 - no sub pages display now.:
Any caching plugins?
None that I can see.
-
@wls-itguy said in Debian upgrade from 7 to 9 - no sub pages display now.:
@aaronstuder said in Debian upgrade from 7 to 9 - no sub pages display now.:
@wls-itguy said in Debian upgrade from 7 to 9 - no sub pages display now.:
I thought it had to do with permalinks inside Wordpress but that didn't fix it.
Seems like permalinks to me too....
That's what I thought as well but when I went to that page and hit save nothing changes.
@aaronstuder said in Debian upgrade from 7 to 9 - no sub pages display now.:
Any caching plugins?
None that I can see.
Change your permalinks to something else, save it, then change it back and save it again.
-
Apache mod_rewrite could be disabled. Check .htaccess file if rewrite rules are there. Can you access pages with "ugly" query string after main url. ie. /?p=11 ?
-
@marcinozga said in Debian upgrade from 7 to 9 - no sub pages display now.:
Apache mod_rewrite could be disabled. Check .htaccess file if rewrite rules are there. Can you access pages with "ugly" query string after main url. ie. /?p=11 ?
Not seeing a .htaccess page and when I type a2enmod rewrite I get module rewrite already enabled.
-
@wls-itguy said in Debian upgrade from 7 to 9 - no sub pages display now.:
@marcinozga said in Debian upgrade from 7 to 9 - no sub pages display now.:
Apache mod_rewrite could be disabled. Check .htaccess file if rewrite rules are there. Can you access pages with "ugly" query string after main url. ie. /?p=11 ?
Not seeing a .htaccess page and when I type a2enmod rewrite I get module rewrite already enabled.
.htaccess is not a page, it's a file, most likely in your wordpress root folder.
-
@marcinozga said in Debian upgrade from 7 to 9 - no sub pages display now.:
@wls-itguy said in Debian upgrade from 7 to 9 - no sub pages display now.:
@marcinozga said in Debian upgrade from 7 to 9 - no sub pages display now.:
Apache mod_rewrite could be disabled. Check .htaccess file if rewrite rules are there. Can you access pages with "ugly" query string after main url. ie. /?p=11 ?
Not seeing a .htaccess page and when I type a2enmod rewrite I get module rewrite already enabled.
.htaccess is not a page, it's a file, most likely in your wordpress root folder.
Sorry, that is what I meant. Not seeing it in the wordpress root folder.
-
That's probably your problem. Btw, are you accessing it through terminal, or through some web panel? This file is hidden and won't normally show up.
-
@marcinozga accessing through ftp
-
@wls-itguy it won't show then.
-
How do I post a pic?
-
@wls-itguy post output of ls -la
And if .htaccess is there, output of cat .htaccess -
@marcinozga said in Debian upgrade from 7 to 9 - no sub pages display now.:
@wls-itguy post output of ls -la
And if .htaccess is there, output of cat .htaccessls -la output: https://pastebin.com/74GTKZY2
CAT output: https://pastebin.com/bzf9yU6z
-
@wls-itguy can you post output of cat .htaccess2 too? My guess is it got added when upgrading, and while .htaccess looks correct, if you have additional caching plugins, there might be additional rules in .htaccess2.
-
-
@wls-itguy ok, rename .htaccess to htaccess-old for example, and rename .htaccess2 to .htaccess and change owner on new .htaccess to www-data:www-data
-
@marcinozga said in Debian upgrade from 7 to 9 - no sub pages display now.:
@wls-itguy ok, rename .htaccess to htaccess-old for example, and rename .htaccess2 to .htaccess and change owner on new .htaccess to www-data:www-data
-rwxr-xr-x 1 www-data www-data 1440 Oct 31 13:47 .htaccess
Tried to reset permalinks again and still no change
-
@wls-itguy restart apache, it should be necessary, but I've seen weirder things.
-
@marcinozga said in Debian upgrade from 7 to 9 - no sub pages display now.:
@wls-itguy restart apache, it should be necessary, but I've seen weirder things.
thought the same thing but no change