• Resolved paul1990

    (@paul1990)


    Hi everyone. To cut a long story short, I had a server crash and I had to create a new server and use backups to recreate the site.

    I’ve now got the home page working, but all the links on it show:

    The requested URL /whatever_link/ was not found on this server.

    I think it may be something to do with the permalinks that are set to ‘Post name’, but I could be be barking up the wrong tree.

    I’ve tried changing the .htaccess file to 666 permissions and then clicking on ‘Save Changes’ to regenerate the links, but have had no success.

    Any help would be warmly received.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Is your site on shared hosting or a VPS you’ve configured yourself?

    Thread Starter paul1990

    (@paul1990)

    It’s my own server that uses Virtual Hosts to host a small number of domains.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    In the <VirtualHost> stanza for this site, add

    <Directory /path/to/wordpress>
       AllowOverride All
    </Directory>

    Then restart apache/httpd

    The default is “AllowOverride None”, which means .htaccess is ignored.

    Thread Starter paul1990

    (@paul1990)

    Thanks for your reply Steve.

    Immediately I place that statement in the Virtual Host, I get this:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    It look like it is a server configuration issue and I’m now going to investigate the logs to see if they throw any further light on the problem.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please post your <VirtualHost> section for that site (and please do not obscure/edit stuff — I need to see exactly what’s there).

    Thread Starter paul1990

    (@paul1990)

    Hello Steve. I can’t tell you how grateful I am for your help, as it pushed me along the correct path to identify the problem. It was the headers module not loading in apache2. Once I solved that issue, it all burst back into life.

    So the issue is now solved (I’m delighted to say) and I can fall asleep tonight and de-stress ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Worpress links not working’ is closed to new replies.