hello just finished a fresh install of CMSMS and tried to configure pretty urls.
The page address comes up as it should (http://www.mysite.com/this/that.html) but it says page not found.
below are my settngs for config.php & htaccess:
config.php
--------------------------------------------------------------------
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
--------------------------------------------------------------------
htaccess
--------------------------------------------------------------------------------------------
# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# (this is important, so uncomment if your host permit)
#Options -Indexes
#ServerSignature Off
#
Options +FollowSymLinks
#
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /
#
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# but ignore POST requests.
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#RewriteCond %{REQUEST_METHOD} !POST$
#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 ^(.+).html$ index.php?page=$1 [QSA]
--------------------------------------------------------------------------------------------
Thanks.
New Install pretty url not working
New Install pretty url not working
Peace & Love
--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}
web design london
--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}
web design london
Re: New Install pretty url not working
Hi Pukka,
A fresh install in a subfolder on your server perhaps?
Do you have the {metadata} tag in your html template?
Windows server? Try url_rewriting='internal'
Grtz. Rolf
A fresh install in a subfolder on your server perhaps?
Do you have the {metadata} tag in your html template?
Windows server? Try url_rewriting='internal'
Grtz. Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: New Install pretty url not working
Sorry for the delay.
I was not able to get it to work.
It is a Windows Server. So i tried url_rewriting='internal' but it didn't work.
The templates all have {metadata} in them.
The install is on the root of the website and not a subfolder.
Is there something wrong with my .htaccess settings?
I was not able to get it to work.
It is a Windows Server. So i tried url_rewriting='internal' but it didn't work.
The templates all have {metadata} in them.
The install is on the root of the website and not a subfolder.
Is there something wrong with my .htaccess settings?
Peace & Love
--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}
web design london
--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}
web design london
Re: New Install pretty url not working
Most of the times .htaccess doesn't work on a Windows server, so mod_rewrite is no option.pukka wrote: It is a Windows Server. So i tried url_rewriting='internal' but it didn't work.
The templates all have {metadata} in them.
The install is on the root of the website and not a subfolder.
I would try it with Internal urls.
Do you have a link to this website?
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -