• Hi there

    whenever I create a new page or a new post or a new products and I can’t access them. I keep getting the 404 error. I have set permalinks to deafult settings and saved it but still getting same error . I get this error in case draft or published status

    I have a .htaccess file which has the below in it

    # 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> 

    I have added SSL certficate to website I am using cloudways server
    on which Apache, Memcached, Nginx and Varnish are running . I am not sure this issue happened after installing SSL certificate and moving the website from http to https
    in general settings in admin.

    when I get error the link is like this

    https://www.exmple.com/?p=7407

    and error mesage is like this

    404
    Go back, or return to …..home page to choose a new page.
    Please report any broken links to our team.

    I appreciate for your help if any one give me an idea.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Getting 404 error for new post , new products or new pages’ is closed to new replies.