Hi there,
Can someone help me with my next problem;
I am trying to make my blog have prettyUrls but I think my own htacces document is conflicting it. At all my other pages I have seo friendly urls but on the blog page a stil have de number url "nieuws.php?p=3"
This is the htacces code that I have right now:
and yes I have changed my config.php file et cetera like the documentation on http://docs.couchcms.com/concepts/pretty-urls.html en yes mod_rewrite is running.
and yes I have changed my config.php file etcetera like the documentation on http://docs.couchcms.com/concepts/pretty-urls.html en yes mod_rewrite is running.
Hope someone can help me
Can someone help me with my next problem;
I am trying to make my blog have prettyUrls but I think my own htacces document is conflicting it. At all my other pages I have seo friendly urls but on the blog page a stil have de number url "nieuws.php?p=3"
This is the htacces code that I have right now:
- Code: Select all
RewriteEngine On
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
# BEGIN GZIP
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</ifmodule>
# END GZIP
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/atom+xml" \
"application/javascript" \
"application/json" \
"application/ld+json" \
"application/manifest+json" \
"application/rdf+xml" \
"application/rss+xml" \
"application/schema+json" \
"application/vnd.geo+json" \
"application/vnd.ms-fontobject" \
"application/x-font-ttf" \
"application/x-javascript" \
"application/x-web-app-manifest+json" \
"application/xhtml+xml" \
"application/xml" \
"font/eot" \
"font/opentype" \
"image/bmp" \
"image/svg+xml" \
"image/vnd.microsoft.icon" \
"image/x-icon" \
"text/cache-manifest" \
"text/css" \
"text/html" \
"text/javascript" \
"text/plain" \
"text/vcard" \
"text/vnd.rim.location.xloc" \
"text/vtt" \
"text/x-component" \
"text/x-cross-domain-policy" \
"text/xml"
</IfModule>
and yes I have changed my config.php file et cetera like the documentation on http://docs.couchcms.com/concepts/pretty-urls.html en yes mod_rewrite is running.

and yes I have changed my config.php file etcetera like the documentation on http://docs.couchcms.com/concepts/pretty-urls.html en yes mod_rewrite is running.

Hope someone can help me