We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3188
    • 75 Posts
    Hi there,

    Ive been browsing alot o threads lately about SEO Friendly URL´s problems.
    For those of you running Debian or Ubuntu servers (although this probaby apply to more distros).
    The way to configure Apache2 to work with .htaccess files is this way:

    Edit the file /etc/apache2/sites-available/default

    Change this:
    <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    # Uncomment this directive is you want to see apache2’s
    # default start page (in /apache2-default) when you go to /
    #RedirectMatch ^/$ /apache2-default/
    </Directory>

    To this:
    <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    # Uncomment this directive is you want to see apache2’s
    # default start page (in /apache2-default) when you go to /
    #RedirectMatch ^/$ /apache2-default/
    </Directory>


    And if you have more folders in that configuration file, please change those to to accept htaccess files.

    Alot of you have this put up on Virtual servers using the apache2.conf file though, so this might not apply to many.
    But for you new starters out there, having a hard time finding the config files, this is the place smiley