We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34459
    • 134 Posts
    Hi, I keep getting the 404 file not found after doing this tutorial...http://rtfm.modx.com/display/revolution20/Using+Friendly+URLs
    I’ve tried skipping RewriteEngine On, cause my provider said that it’s on by default.

    .htaccess

    # Friendly URLs Part
    RewriteBase /
    RewriteCond %{HTTP_HOST} .
    # Force all pages to go to www.domain.com for SEO
    RewriteCond %{HTTP_HOST} !^www\.blackflow\.pl [NC]
    RewriteRule (.*) http://www.blackflow.pl/$1 [R=301,L]
    # Friendly URLs
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
    # Additional Settings Follow
    ExpiresActive On
    ExpiresByType image/gif A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/png A2592000
    BrowserMatch "MSIE" brokenvary=1
    BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1
    BrowserMatch "Opera" !brokenvary
    SetEnvIf brokenvary 1 force-no-vary


    System settings
    http://blackflow.pl/1.png

    Page settings
    http://blackflow.pl/2.png

    Page itself
    http://blackflow.pl/www.html

    please help sad
      Check out blackflow.pl