• Hi.

    I had my wp-site in a temporary folder with everything working perfectly, and now just moved the wp-site to a different folder so it would match with the new domain name. It never opens up https://www.mydomain.com, just loops endlessly without showing my static front-page, when Permalinks are set to ‘Post name’.

    However, if I directly goto https://www.mydomain.com/index.php, everything is working just fine. It’s also working just fine if I change Permalinks to ‘Default (www.mydomain.com/?p=123)’.

    So, what could be the problem here? As mentioned, entering https://www.mydomain.com directly, just loops endlessly. Tested clearing cookies, doesn’t help.

    This runs on Ubuntu linux under Apache web server.
    My wordpress-directory/.htaccess looks like this;

    # 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

    Any help is appreciated ?? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • How did you move the site? There are often many URL’s and paths stored in the WP database in ‘serialized’ form. That is, the strings are stored along with their length. Using a normal ‘search and replace’ will cause problems if the new URL or path is a different length from the old one. You must use a special tool to copy from one site to another.

    Here is an article with the steps that I use to migrate (copy) a site: https://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

    Reply

    Thread Starter xuw

    (@xuw)

    i copied it from /home/oldserver to /home/newserver. the information in the link, didnt really help much, as the site is already moved.

    the ONLY problem i seem to have is having a STATIC front page (it will loop endlessly). using latest posts as front page, works without problems.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Not working after moving’ is closed to new replies.