php - .htaccess not working with GoDaddy -


this .htaccess rewrite:

options +indexes errordocument 400 /notfound.php errordocument 401 /notfound.php errordocument 403 /notfound.php errordocument 404 /notfound.php errordocument 500 /notfound.php rewriteengine on rewriterule (.*)\.xml(.*) $1.php$2 [nocase] 

i haven't had trouble using on server other godaddy. sites use custom cms file called "pages" (not "pages.php") links page alias (e.g. http://www.domain.com/pages/page-alias) , works everywhere.

the home page fine. when going page alias, pages file doesn't work.

i need use "pages.php" file make work (linking http://www.domain.com/pages.php/page-alias).

is issue .htaccess file on godaddy server?

is there i'm missing?

with godaddy, need turn off multiviews:

options -multiviews 

[source]


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -