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.:
@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
-
What does the wordpress admin panel show? Does it display any warnings? Anything on permalinks page?
-
@marcinozga no warnings. When I make the change it says change made.
-
I almost forgot, apache config probably got reset to default. Find your AllowOverride directive in your web root config and make sure it's set to either FileInfo or All. Options directive should also include FollowSymlinks. Restart Apache after making changes in config files.
-
@marcinozga said in Debian upgrade from 7 to 9 - no sub pages display now.:
I almost forgot, apache config probably got reset to default. Find your AllowOverride directive in your web root config and make sure it's set to either FileInfo or All. Options directive should also include FollowSymlinks. Restart Apache after making changes in config files.
BOOM!!!!! FIXED!!!
-
@marcinozga Thanks for the help. Now I can move onto something else, like a nap
-
@wls-itguy said in Debian upgrade from 7 to 9 - no sub pages display now.:
I'll see if I can explain this so there isn't any missing pieces. I upgraded our wordpress/debian 7 install to debian 8 and then to debian 9. At some point in there, not sure as I cannot recall if I tested the site working or not before moving on to debian 9 upgrade, the site is working but doesn't display anything below the main www.
Example -> www.wls.wels.net works just fine but www.wls.wels.net/grow-in-grace gives me the big 404 error.
I thought it had to do with permalinks inside Wordpress but that didn't fix it. Thought it could be a sites-enabled issue, that also was not the case. I am not sure where to go from here. From what I remember of websites, if you can get to the main site you should be able to get to the whole thing but I'm guessing not.
What am I missing?
Sounds like something in Apache to me. I know that isn't too helpful but it could be several things