PX Forums demoYou are browsing as a visitor. Try it as: Member · Moderator · AdminOne click, no password. All changes are reset every night at 03:45 CET.
Skip to content

Is it safe to install on a subfolder like /blog?

Log in
Replies
4
Voices
5
Views
644
Last activity
Score 0
Aisha Khan Topic starter Member302 karma32 posts · Joined Dec 2026

My main site is custom PHP and I want Lumen only under /blog.

Choose a reaction
Reply

4 answers

Score 6
Tomáš Novák Moderator697 karma44 posts · Joined Dec 2026
Solution

Yes. Install into /blog, set the Site URL to https://example.org/blog/ during setup, and add one line to your main site's .htaccess only if you also rewrite URLs there:

RewriteRule ^blog/ - [L]

Keep the two sites in separate databases or at least with different table prefixes.

Choose a reaction
Reply
  • Small addition: after changing this, clear the cache once.

    – Aisha Khan
Score 0
Omar Haddad Helper367 karma46 posts · Joined Dec 2026

Not sure it applies to your case, but the docs have a short page about this: Getting started.

Choose a reaction
Reply
Score 0
Chloé Martin Helper159 karma33 posts · Joined Dec 2026

It was the cache in my case too. Always the cache.

Choose a reaction
Reply
Score 0
Ben Carter Helper290 karma39 posts · Joined Dec 2026

Try this first, it is the most common cause:

php -v
php -m | grep -i mysqli
Choose a reaction
Reply