Well, i try to display the pretty urls, with this code in, the .htaccess.
#Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com.co$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com.co/$1 [R=301,L]
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php?page=$1 [QSA]
and in the config.php
change the following lines,
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.htm';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
Before putting the pretty urls the format utf-8 works, but after putting the code for the pretty urls stops working.
and just the news works for the pretty urls.
the other pages, doesnot works the pretty urls
i can´t enter to the admin panel in cms 1.7
thanks for your advice.
pretty urls and, cms admin panel
pretty urls and, cms admin panel
Last edited by cristianR on Wed Apr 21, 2010 5:21 pm, edited 1 time in total.
Re: pretty urls and, cms admin panel
Hello cristianR
Try to comment out this part first:
Regards, Rolf
Try to comment out this part first:
Code: Select all
#RewriteCond %{HTTP_HOST} ^en-obra.com.co$ [NC]
#RewriteRule ^(.*)$ http://www.en-obra.com.co/$1 [R=301,L]
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: pretty urls and, cms admin panel

but the other issues ,the special caracteres, the pretty urls to the home page and other pages does not works,
just the module news works.
thanks for your advice
Re: pretty urls and, cms admin panel
Do you have the {metadata} tag in your html template?
Rolf
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: pretty urls and, cms admin panel
maybe you have to set the 'locale' in the config.php - it solved my problem in German by setting UTF8.
The example for German:
The example for German:
Code: Select all
$config['locale'] = 'de_DE.UTF8';
Re: pretty urls and, cms admin panel
ok, rolf i have the {metada} tag in my templates in to the
the pretty urls works good , but, the special caracteres does not work.
thanks
the pretty urls works good , but, the special caracteres does not work.
thanks
Re: pretty urls and, cms admin panel
ok,, owr_web, i am going to try,
thanks
thanks
Re: pretty urls and, cms admin panel
thanks for your advice, its works now.