[opgelost] Pretty URLS

Nederlandse ondersteuning voor CMS Made Simple

Moderator: velden

iStevo

Re: [opgelost] Pretty URLS

Post by iStevo »

arnoud wrote: Ik weet niet waar het mis gaat erg lastig zonder log files en inzicht in het .htaccess bestand  ???
# 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
#
RewriteRule ^event/$ /tsw2010/tsw2010-nl/ [R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
ik stuur u een pm met login voor adminpagina
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: [opgelost] Pretty URLS

Post by Jos »

Vooropgesteld, ik ben geen htaccess goeroe, maar ik lees in voorgaande posts dat je cmsms site draait in een subdirecory.

Heb je dan misschien deze regel over het hoofd gezien om aan te passen?

Code: Select all

#Sub-dir e.g: /cmsms
RewriteBase /
iStevo

Re: [opgelost] Pretty URLS

Post by iStevo »

Jos wrote: Vooropgesteld, ik ben geen htaccess goeroe, maar ik lees in voorgaande posts dat je cmsms site draait in een subdirecory.

Heb je dan misschien deze regel over het hoofd gezien om aan te passen?

Code: Select all

#Sub-dir e.g: /cmsms
RewriteBase /
neen, ik draai niet in een subdirectory.
edit: heb de htaccess even aangepast en een subfolder /event/ gemaakt die doorlinkt tot probleem is opgelost.
Last edited by iStevo on Thu Sep 23, 2010 7:52 am, edited 1 time in total.
Post Reply

Return to “Dutch - Nederlands”