• Resolved XeN42

    (@xen42)


    Hi,

    I moved to a new server. My domain hasn’t changed and I copied the wordpress files including .htaccess to the new location and also exported and imported the wordpress database to the new server.
    Username and password are updated in database and wp-config.php.

    Everything should be fine but I can only access the main page of my blog. all links to postings, sites etc. are broken and I get a 404 when I try to access them.

    I have no clue what could be wrong. The only thing that has changed is the server ip. Everything else should be the same as before.

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • If everything is the same

    You could try setting permalinks back to default that is index.php?id=1234 for example .

    Then see if your content loads if it does just try setting your old permalink structure back and you should be fixed.

    Thread Starter XeN42

    (@xen42)

    Setting it back to standard (?p=#) works. But when I then set it back to date and name what I actually want to have it stops working again.
    What could go wrong there?

    ok is your .htaccess file in place and does it have the correct re-write rules for wordpress int?

    Failing that you’ll have to look at your server error logs.

    You’d need to post your URL for me to be able to give you anything eles to go on

    Thread Starter XeN42

    (@xen42)

    The .htaccess is in the correct place with the content from the permalinks settings page. As I said I moved all the files to a new server. All paths, OS, apache version etc. are the same.

    I have 3 blogs. All with the same problem:

    xengi.de
    makesyouhappy.org
    burger-linedancer.de

    Thread Starter XeN42

    (@xen42)

    Damn.. m(

    I found the problem. I haven’t activated the mod-rewrite in apache.
    thx anyway for the help.

    could be sym links?

    add:
    Options +FollowSymlinks
    RewriteEngine on

    to top of .htaccess file .

    However if you have moved all those sites onto a new server then the answer is most likely that the new server doesn’t allow .htaccess override!!

    Usually in vhost.conf needs to read:
    <Directory “/////YOUR PATH”>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    or ask you host if you don’t have super user

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress links broken after server change’ is closed to new replies.