Page 1 of 1
Pretty URL's on windows host
Posted: Thu Dec 19, 2013 6:17 pm
by delve2013
A client's website is on a windows host and the pretty url's are showing up as ;
http://www.domainname.com/index.php/page-name
how do I remove the index.php part?
Any ideas?
Re: Pretty URL's on windows host
Posted: Thu Dec 19, 2013 7:25 pm
by calguy1000
Generally, the answer is 'you can't'
Re: Pretty URL's on windows host
Posted: Thu Dec 19, 2013 7:36 pm
by JohnnyB
Are they using Apache or Windows IIS to serve their pages (WAMP or LAMP)?
If using Apache, the .htaccess documentation inside of the /doc/ directory of the CMSMS install should give the information needed (htaccess.txt). Be sure your config.php is using 'mod_rewrite' for pretty URLs.
If you are using Windows IIS 7.5 + it is supposed to come bundled with the Windows version of sef rewriting. If you are using something older, you'll need to add in ISAPI_Rewrite, or something similar to that. But, in both cases, it takes some tweaking the Windows IIS rewrite utilities to meet your needs.