I was just told by Earthlink that I can't have mod_rewrite turned on for my site. So this means that I can't have pretty URLS in my site. Unless someone else can tell me if there's a workaround for it???
This is just one of the many MANY reasons why you should stay away from Earthlink.
mod_rewrite and Earthlink
Re: mod_rewrite and Earthlink
Have you tried the internal Pretty URL settings instead?...
Re: mod_rewrite and Earthlink
I followed the procedure described in here:
http://wiki.cmsmadesimple.org/index.php ... retty_URLs
Which involves changes in htaccess and config.php
Is there any other method for just internal pretty urls?
http://wiki.cmsmadesimple.org/index.php ... retty_URLs
Which involves changes in htaccess and config.php
Is there any other method for just internal pretty urls?
-
alby
Re: mod_rewrite and Earthlink
Try this in config.php for internal pretty urls only (http://www.example.com/index.php/dir/page.html):hexdj wrote: Is there any other method for just internal pretty urls?
Code: Select all
$config['assume_mod_rewrite'] = false;
$config['internal_pretty_urls'] = true;
$config['use_hierarchy'] = true;
$config['page_extension'] = '.html';
Re: mod_rewrite and Earthlink
Change .htaccess to htaccess.txt... I think this is mostly to get rid of index.php in the string...
Then in config.php... this will give you pretty URLs for news items like multiintech.com/index.php/news/11/15.html
#------------
#URL Settings
#------------
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = false;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html ';
#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism? This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = true;
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = '.html';
Then in config.php... this will give you pretty URLs for news items like multiintech.com/index.php/news/11/15.html
#------------
#URL Settings
#------------
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = false;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html ';
#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism? This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = true;
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = '.html';


