• I changed my domain from http to https and I got error 403 for all my files.

    My solution for this was run this query in the database of wordpress

    UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, ‘http’, ‘https’) WHERE meta_value like ‘http%’ AND meta_key=’_dedo_file_url’;

    So if you changed all your domain for other you need to put

    UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, ‘old-domain’, new-domain’) WHERE meta_value like ‘old-domain%’ AND meta_key=’_dedo_file_url’;

    Take care with the http or https, put all the complete domain

  • The topic ‘Solution error 403’ is closed to new replies.