good day
version 2.1.5
CGBlog 1.14.1
after turning mod_rewrite on in config.php
$config['url_rewriting'] = 'mod_rewrite';
blog module is not redirected properly. for some reason module is not added to URL so it opens home page . and drops content there.
http://www.labores7.lv/2016/08/jauns-blogs
any hints?
rewrite problem for calguys blog
-
- Forum Members
- Posts: 19
- Joined: Sun May 08, 2016 4:32 am
Re: rewrite problem for calguys blog
Cleared cache in CMSMS admin panel?
Re: rewrite problem for calguys blog
Have you set a default summary page view in the options tab?
Default detail page (if no page id is specified on the URL):
-
- Forum Members
- Posts: 19
- Joined: Sun May 08, 2016 4:32 am
Re: rewrite problem for calguys blog
the problem is when system generates url for blog page. now it looks like this:
http://www.labores7.lv/2016/08/jauns-blogs
there is missing module or controller parameter, i suppose it should look like:
http://www.labores7.lv/cgblog/2016/08/jauns-blogs
but that is not working. it works ok without rewrite so problem is when
{$entry->detail_url} is generated under rewrite rules. i should be generated correctly by system core i guess.
http://www.labores7.lv/2016/08/jauns-blogs
there is missing module or controller parameter, i suppose it should look like:
http://www.labores7.lv/cgblog/2016/08/jauns-blogs
but that is not working. it works ok without rewrite so problem is when
{$entry->detail_url} is generated under rewrite rules. i should be generated correctly by system core i guess.
-
- Forum Members
- Posts: 19
- Joined: Sun May 08, 2016 4:32 am
Re: rewrite problem for calguys blog
the problem is with url generation. now it is :
http://www.labores7.lv/2016/08/jauns-blogs
there is no module or controller parameter in link, so it fails . it should look like:
http://www.labores7.lv/CGBlog/2016/08/jauns-blogs
this link should be generated by system core somehow under rewrite rules
http://www.labores7.lv/2016/08/jauns-blogs
there is no module or controller parameter in link, so it fails . it should look like:
http://www.labores7.lv/CGBlog/2016/08/jauns-blogs
this link should be generated by system core somehow under rewrite rules
Re: rewrite problem for calguys blog
There's also an option for the prefix under the options tab;
do you have something sensible in there?Prefix to use on all URLS from the blog module:
-
- Forum Members
- Posts: 19
- Joined: Sun May 08, 2016 4:32 am
Re: rewrite problem for calguys blog
yes it has option set
Prefix to use on all URLS from the blog module: cgblog
Prefix to use on all URLS from the blog module: cgblog
-
- Forum Members
- Posts: 19
- Joined: Sun May 08, 2016 4:32 am
Re: rewrite problem for calguys blog
should there be record for cgblog in cms_routes table ?
there is none...
there is none...