WordPress site will not change permalinks
-
I have mentioned this before, but never truly tried to test things out.
Tonight, I deleted /opt/jaredbusch
dropped the database and the user form mariadb.
and started over.I did a clean download of wordpress (which is still 3.9.2 FYI.
I upgraded to 4.0.
I change permalinks to date & name
I clicked on the default Hello world posts and got a 404.
so i made a test post.
same result.
They both show up on the default page though.
-
I am obviously missing something because daerma.com works just fine with the permalinks changed and it is on the same server.
-
Is your .htaccess configured. and is SEO friendly url configured in wordpress (I think it's defualt now though).
-
There is no .htaccess in the /opt/jaredbusch directory.
There is no .htaccess in the /opt/daerma.com directory either and that site works.
same for /opt/wolf-peak -
@thecreativeone91 said:
and is SEO friendly url configured in wordpress (I think it's defualt now though).
There is no setting for this in 3.9.2 or 4
-
@thecreativeone91 said:
Is your .htaccess configured. and is SEO friendly url configured in wordpress (I think it's defualt now though).
Here is the directory structure
-
Oh FFS...
Problem resolved.
Issue was in httpd.conf
When I very very first set up the web server, I had changed the default path from /var/www/html to /opt/jaredbusch
The default settings in httpd.conf disable rewrites apparently. put it back to /var/www/html and jaredbusch.com works. This is why all the other sites worked.
-
@JaredBusch said:
The default settings in httpd.conf disable rewrites apparently. put it back to /var/www/html and jaredbusch.com works. This is why all the other sites worked.
Ah, That's why you didn't need .htaccess because it was doing that inside the main config..
-
@thecreativeone91 said:
Ah, That's why you didn't need .htaccess because it was doing that inside the main config..
Yes, so now I just need to look into general security settings and such.