einarab Posted April 15, 2016 Share Posted April 15, 2016 (edited) Hello guys. I did have my shop on a share hosting and the traffic was getting to high for it so i deceded to move to a dedicated server i have some experience with linux so i did install a debian os and apache2 php5 and mysql server i have put my site on the new server but when i go to contact us the url looks like this www.mysite.com/contact-us but now the server thinks im trying to go to a folder called that so i always get not found error ? this happens also when i try to see products and etc only thing that works is the index and also the admin panel works fine i think that is because he only works with /index.php?etc....... Edited April 18, 2016 by einarab (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted April 15, 2016 Share Posted April 15, 2016 Did you try regenerating .htaccess? Link to comment Share on other sites More sharing options...
einarab Posted April 18, 2016 Author Share Posted April 18, 2016 It was the virtual host that was not allowing rewrite. apache2 default settings have changed since i did this the last time so in /etc/apache2/sites-available/000-default.conf need to insert this <Directory /var/www/html> AllowOverride All </Directory> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now