• Resolved hpb1980

    (@hpb1980)


    Recently did a clean install of WP 4.6.1 and installed the Total theme with the Woocommerce plugin. No matter what I do I am not able to save any of the settings or permalinks. It just shows me the old settings. No cache plugin is installed. I set the file permissions to 644 and all the folders to 755. Can anyone please help?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello, hpb1980 & welcome. What are your user & group set to? Are you seeing any messages in your error logs? Lastly, can we see your .htaccess file?

    Thread Starter hpb1980

    (@hpb1980)

    Hi Jackie, user and group are the default Apache ones- ‘www-data’. I think I have this fixed. It was being caused because of a plugin which I have now disabled. However, I can now only see the main page and when I try and access any of the posts or the pages I see a 404 error. Nothing on the error logs. Here is the .htaccess file. At first I thought this would be a file permissions error. Which is why I changed the file and folder permissions to 775 instead of the regular 755 for folders and 644 for files but that did not work either.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    EDIT: Permalinks with the ‘Plain’ option selected loads all the pages. However, anything other than that shows me a 404 when I try and access pages other than the homepage.

    • This reply was modified 7 years, 7 months ago by hpb1980.

    hpb1980, firstly, could you please provide a site url? Secondly, please go to ‘settings > Permalinks’ & resave your permalink structure.

    If those techniques don’t resolve the problem, could you please revert to a default theme to see if that fixes the problem. I have other ideas, but let’s see where we are w/those first, ok?

    Thread Starter hpb1980

    (@hpb1980)

    Permalinks with the ‘Plain’ option selected loads all the pages. However, anything other than that shows me a 404 when I try and access pages other than the homepage. With the default theme too I see 404 for pages other than the homepage. Unfortunately I do not have a public URL. I’m trying it out on my local Raspberry Pi.

    hpb1980, Please check your user & group ownership (the files should be owned by the webserver user & group), & the permissions need to be 0644 for directories & 0755 for files. Also, is mod_rewrite enabled in your Apache? There are commands to determine that, but you likely know them. Still, if you’re stuck, let us know & we’ll try to help.

    Lastly, I don’t have a Pie, but is SELinux installed by default on there? Sometimes that can create problems (thanks @claytonjames for pointing that out). Likely not, but it’s worth asking.

    Thread Starter hpb1980

    (@hpb1980)

    Ah mod_rewrite! I had that enabled but apparently I had not allowed .htaccess changes. Step 3 from this post helped. Thank you for helping me troubleshoot this. The site seems to work fine now.

    • This reply was modified 7 years, 7 months ago by hpb1980. Reason: Added more info
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not able to save settings or create new pages’ is closed to new replies.