PicoCMS htaccess redirects

Joined
Jul 6, 2015
Messages
105
Likes
74
Degree
0
Anyone have any idea how to fix PicoCMS while using .htaccess to create redirects?

Example:

Code:
Redirect 301 /page/ http://domain.com/blog/page/

Pico instead sends me to this:
Code:
http://domain.com/blog/page/?page/

Also if a file is redirected from the base like:

Code:
Redirect 301 content.php http://domain.com/

Sends me to:
Code:
http://domain.com/?content.php/
(Yields a 404)

Anyone know how to get around this? Something to do with how Pico deals with the URL structure but can't seem how to get around it. Thanks!
 
Nothing like a late reply - but better than never.

The fix is on config/config.php

just uncommented out $config['rewrite_url'] and set it to true.

I am playing with picocms right now (seems promising) Just learning as I go.
 
Hey @coredev , yeah I ended up figuring it out way back. Your reply will end up helping others if they stumble over here.
 
Back