Hi,
I am using codefight cms in the development server (e.g
http://www.myhost.com/dev/
) , which is set up on a godaddy server.
First I couldn’t access any CMS pages. Then I searched and found out that the .htaccess needed to be changed to make it work.
I changed the following htaccess lines
RewriteBase /
RewriteRule ^admin/(.*)$ admin.php/$1 [L]
RewriteRule ^(.*)$ index.php/$1 [L]
to this. [below changed lines]
RewriteBase /dev
RewriteRule ^admin/(.*)$ admin.php?/$1 [L]
RewriteRule ^(.*)$ index.php?/$1 [L]
now, when I try to access the
http://www.myhost.com/dev/admin
, I get a 404 page.
Is there any way that I could be able to resolve this by making any changes to the .htaccess?
Thank you
Hi Chaleswa,
You seems to be doing everything right. I was unable to access the /dev. Did you remove it or is still not accessible.
RewriteBase is not really required, so you can try removing that.
If that doesn’t work and if you trust you can PM me your temporary FTP access and i can look it for you.
continue reading ...