Url rewrite aspx[SOLVED]

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
iselinarnesen

Url rewrite aspx[SOLVED]

Post by iselinarnesen »

removed post due to inactivity
Last edited by iselinarnesen on Mon Dec 07, 2015 1:43 pm, edited 2 times in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Url rewrite aspx

Post by Rolf »

Also add to config.php:

Code: Select all

$config['page_extension'] = '.aspx';
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
iselinarnesen

Re: Url rewrite aspx

Post by iselinarnesen »

Thanks for yoyr answer. Unfortunately it did not work. Do you have any other idea?

Kind regards,

Iselin.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Url rewrite aspx

Post by Dr.CSS »

To set the extension we most times use the "pretty URL" settings...

In [root] of site is a folder called doc in this is file called htaccess.txt (not .htaccess) copy this to the [root] rename it to .htaccess...

In config.php add...

$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.aspx'; this can be any extension you want
iselinarnesen

Re: Url rewrite aspx

Post by iselinarnesen »

Thank you so much. It's working now:)
Locked

Return to “[locked] Installation, Setup and Upgrade”