skip to Main Content

I developed a WordPress site on localhost and I wanted to take it live. I had my domain and host, zipped the WordPress site file from htdocs and moved it to the host https docs, exported the database to the host in SQL format, changed the URL in wp-options table, established the connection in wp-config file, and the site showing the first page only. Other pages error 404, can’t edit via elementor, can’t add a new page (you are offline error). Can you help me find the error please?

Note: using Plesk as a host.

2

Answers


  1. Can you access the WordPress Admin Dashboard? If yes, please go under Settings > permalinks, and try clicking Save without making any changes. This should flush the permalink settings. After that, check if it’s resolved.

    Login or Signup to reply.
  2. Have you checked that an .htaccess file exists in your document root with at least this content?

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    

    If the file is missing, simply create a text file in your websites’s document root named ".htaccess" with above content. When the file is missing and you try to use permalinks in WordPress, only your start page can be displayed.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search