Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Redirects have stopped working
  • Vote Up0Vote Down mattapexmattapex
    Posts: 4Sendy user

    I've followed the online guide re: 404 and redirects, but nothing seems to be working.

    For some reason - and without any changes at our end - the login page started giving a 404 error. We can still access the page via login.php - but then once logged in, any subsequent page navigation gives the 404 error.

    Somehow the redirects have stopped working. We haven't changed hosting. We haven't edited the htaccess file. As far as I'm aware, we haven't changed anything on the server.

    We're using PHP version 7.3.18.

    Our htaccess file is the default one (see below).

    Can anyone suggest why this might not be working please - and hopefully recommend a fix?

    Thanks in advance!

    htaccess file:

    ErrorDocument 404 "[404 error] If you're seeing this error after install, check this FAQ for the fix:"
    Options +FollowSymLinks
    Options -Multiviews
    RewriteEngine On
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteRule ^([a-zA-Z0-9-]+)$ $1.php [L]
    # Link tracker
    RewriteRule ^l/([a-zA-Z0-9/]+)$ l.php?i=$1 [L]
    # Open tracker
    RewriteRule ^t/([a-zA-Z0-9/]+)$ t.php?i=$1 [L]
    # Web version
    RewriteRule ^w/([a-zA-Z0-9/]+)$ w.php?i=$1 [L]
    # unsubscribe
    RewriteRule ^unsubscribe/(.*)$ unsubscribe.php?i=$1 [L]
    # subscribe
    RewriteRule ^subscribe/(.*)$ subscribe.php?i=$1 [L]
  • Vote Up0Vote Down BenBen
    Posts: 3,688Sendy support


    Please change all instances of AllowOverride None to AllowOverride All in your Apache’s httpd.conf so that your server does not ignore Sendy’s .htaccess file. Also remember to reboot Apache after making changes to httpd.conf.


    Best regards,

  • Vote Up0Vote Down mattapexmattapex
    Posts: 4Sendy user

    Thanks Ben.

    I was unable to make this change myself, as we're on a Managed VPS. But I requested our hosting provider make these changes and that seemed to work.

    Thanks for your help.

This discussion has been closed.
All Discussions