Sunday, September 4, 2016

htaccess upload error on yahoo hosting

Recently one of my friends website redesigned and hosted on Yahoo Hosting. Requirement was to rewrite URL to extension less. 
e.g. http://www.abc.com/blog.php to http://www.abc.com/blog.

Googling on PHP suggested to have .htaccess file and have rules inside it.

Windows does not allow creating file without name from explorer so .htaccess is not possible
Work around is to create file in notepad and save with *.* all files option

Finally, learn that Yahoo hosting does not allow .htaccess file upload and that put end on possibility of rewriting URL. Finally decided to move to other hosting provider.

Hope this helps someone saving sometime.
Post a Comment