Hey guys! I bought a site which has urls in .php, for instance, www.yourdomain.com/contact-us.php. Now i would like to change that to www.yourdomain.com/contact-us. How do i do it?
You will need to make some htaccess setting changes, a script inserted there. A good idea would be to redirect it to "/" and don't leave it "contact-us", but it would appear "contact-us/". This is more trendy, but I'm not sure how you'd like to do it... Here's a thread about this: http://stackoverflow.com/questions/4588022/htaccess-to-remove-php-extension-godaddy I usually rewrite the .htaccess file. Some hosters impose limits, restrictions, you might want to ask them. Make sure you keep your current file as is or save it somewhere, so that you don't "mix it up", if you are unfamiliar with this type of code.