Question

Friendly URL's are not working

Posted November 6, 2013 2.2k views
I put my website in the www folder, but the friendly url's are not working anymore. How to solve?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

4 answers
Are you running a WordPress site?
No, I'm running a opencart website
I changed AllowOveride to All, but when I change
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


allowoverride all, then the site is not loading anymore.

Full file:

ServerAdmin webmaster@localhost

DocumentRoot /var/www

Options FollowSymLinks
AllowOverride All


Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all


ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

Alias /doc/ "/usr/share/doc/"

Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128



"I put my website in the www folder..."

Is this a new install or did you move your site to the www folder from a different directory?
Submit an Answer