I recently configured LAMP on Ubuntu 14.04 x32 but only the homepage works: http://107.170.112.238/
http://107.170.112.238/?page_id=10
I enabled mod_rewrite in apache and created .htaccess file but it doesn’t seem to be working.
Any help would be appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Forget the ip. When you access the site using the domain it works. Access your wordpress control panel and go to Settings and click on permalinks. There you will see some options, probably Default is selected. Choose the one that fits you and Save Changes.
Thanks Kamal, after adding the lines above this is the error I am getting: <br> <br> <br>Notice: Constant WP_DEBUG already defined in /var/www/html/wp-config.php on line 93 <br> <br>Parse error: syntax error, unexpected end of file in /var/www/html/wp-content/themes/caminadog/index.php on line 1179 <br> <br>– <br>What could be causing the unexpected end of file? <br> <br>Thanks! <br> <br>@Marinos Sianios: Thanks, but I had the same issue with the domain name, that’s why I had to use only IP.
Kamal, thanks for your your help! <br> <br>I finally fixed the issue following this answers: <br> <br>http://stackoverflow.com/questions/21952535/php-parse-error-syntax-error-unexpected-end-in?rq=1
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.