Two problems when using pretty URLs
Posted: Fri Aug 20, 2010 4:31 pm
hi
i just managed to configure the config.php file and htaccess for use of pretty URLs however there are two issues I did not manage to solve till now
1.
the first one is that all deeper pages (directories) contain an additional directory named 'index-2' for ex
http://localhost/cmsmadesimple/[b]index-2[/b]/category1/ or http://localhost/cmsmadesimple/[b]index-2[/b]/category1/subcategory1/ and so on ...
the main index page (http://localhost/cmsmadesimple/) uses different template than category and subcategory pages
what changes should I make so that 'index-2' doesn't appear? or what actually makes it to appear?
2.
my second problem is, what would be the best solution to use '/' at the end of category and subcategory pages and extensions (ex .html, .php) for subpages?
ex.
http://localhost/cmsmadesimple/category1/
http://localhost/cmsmadesimple/category1/page01.php
http://localhost/cmsmadesimple/category ... page01.php
http://localhost/cmsmadesimple/category1/subcategory1/
I am using CMSMS v 1.8.1
many thanks for those who can help me out
i just managed to configure the config.php file and htaccess for use of pretty URLs however there are two issues I did not manage to solve till now
1.
the first one is that all deeper pages (directories) contain an additional directory named 'index-2' for ex
http://localhost/cmsmadesimple/[b]index-2[/b]/category1/ or http://localhost/cmsmadesimple/[b]index-2[/b]/category1/subcategory1/ and so on ...
the main index page (http://localhost/cmsmadesimple/) uses different template than category and subcategory pages
what changes should I make so that 'index-2' doesn't appear? or what actually makes it to appear?
2.
my second problem is, what would be the best solution to use '/' at the end of category and subcategory pages and extensions (ex .html, .php) for subpages?
ex.
http://localhost/cmsmadesimple/category1/
http://localhost/cmsmadesimple/category1/page01.php
http://localhost/cmsmadesimple/category ... page01.php
http://localhost/cmsmadesimple/category1/subcategory1/
I am using CMSMS v 1.8.1
many thanks for those who can help me out