One page on my website does not work if i do not put www. in front

I am using Apache virtual hosts on ubuntu 14.04 64 bit on a 512MB droplet. I have 3 very small sites setup right now. I have set up the main site to always go to even if you type in using .htaccess file. Another site i am hosting ( does not seem to follow the .htaccess file, and you can access it using the preceding www or without.

My real issue is if you go to the site with the site is if you go to it sans www, and click on sales, for some reason it puts the www. in front and puts the slash that is supposed to go in front of sales, behind it! ex: http://www.sheardlitearabians.comsales.html/

i downloaded this site from my previous shared host.

any idea what’s going on here??


Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

can you post your htaccess file so we can take a look?