• Hello!

    I have installed WP on https://www.example.com/wpsite and have used option from my host to use host multi-site so that it is directed on https://www.wpexamplesite.com.

    Permalinks have updated with the new address, I have entered new address in general settings twice, and the home page works! but I get an internal server error on all other posts/pages…

    Could any one help me with this issue? Should I post a htaccess file? the one in the theme?

    (I have already done that same process with success on three occasions before on that same host)

    Thanks a lot for you help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • See Changing_The_Site_URL for details of how to do this properly.

    Thread Starter campbelson

    (@campbelson)

    cheers Esmi,

    It did not make it work to add suggested code in wp-config.php or functions.php.

    Looking at htaccess section now…

    Thread Starter campbelson

    (@campbelson)

    I dont really get the part on htaccess.
    Permalinks are set on https://www.domain/post-example/, where domain is my new domain (same server).
    and this is the htaccess file

    SetEnv PHP_VER 5
    AddDefaultCharset UTF-8
    SetEnv REGISTER_GLOBALS 0
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /docus/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /docus/index.php [L]
    </IfModule>
    
    # 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

    where “/docus/index.php” is the address of the actual location of the files on host server.

    Anything wrong there?
    (only dynamic home page and admin panel work and display new domain url; all other post/pages show internal server error)

    Yes – you have two contradictory rewrite blocks in that file. Where exactly is WordPress currently installed in relation to the root domain?

    Thread Starter campbelson

    (@campbelson)

    vwww.rootdomain.com/docus/

    Thread Starter campbelson

    (@campbelson)

    removed first bit so that:

    # 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

    and it worked, nice one Esmi, thanks!!!

    Excellent ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP server error after domain migration on all but home page’ is closed to new replies.