• I am moving a site to another host and after backing up their current files and database, I installed everything onto the server. then I changed the domain to the temp link of https://192.185.4.97/~ventureshuf/ so they can see the site before pointing the domain. So I changed this in DB in wp_options >siteurl and home and then changed it in the config file. At first glance it worked becuase the home page shows as it should but ALL my sub or secondary pages return a 404 error. I can’t login to the new back end becuase it passes me to the 404. So I read a few posts and changed my permalinks to every one that is an option, still nothing. I deleted everyone out of the .htaccess file to at least have the sub pages return the correct url it should be (i.e. https://192.185.4.97/~ventureshuf/about/).

    Kind of at a lose, I am sure I am missing something small but need some outside eyes to look at this. The new host is hostgator and the pages in the drop downs are still pointing to the actual domain so at first you will think its is working but it is from the original domain.

    Any other details just let me know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • InterServer

    (@interservernet-web-hosting)

    I recommend to do hosts file method to test your website after migration instead of checking through temporary URL.

    Also rename current .hatccess file and create a new .htaccess with the following rewrite rules then try again.

    # 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

    Thread Starter fivemultimedia

    (@fivemultimedia)

    I dont know what a host file ethod is, I always used the temp URL before with no issues.

    I changed the .htaccess to a new file with just the mod rewrite (I did that before) but it still only removes the permalink extension i.e. /about ending and goes straight to the 404 page. I also changed the permalinks in the db to see if the combination of changing .htaccess files and permalinks was a combo I hadn’t used yet but still it is not woorking.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site Move Issues’ is closed to new replies.