Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

.htaccess problem

Go to End

4 Posts   1637 Views


Community Member, 3 Posts

29 July 2008 at 5:40am


I've got a working install of SS in /. Very nice btw.
But I also got a phpbb forum in myserver/forum.

Problem is, as you may have guessed, that .htaccess breaks the forum.
So right now I've got it renamed, and forum is working and SS is not :)

I have tried to fix it with my limited knowledge of .htaccess/apache but even with the help of google it's not enough it seems. I was wondering if there's any .htaccess guru present that could steer me towards some resource which would let me make a hardlink to http://myserver/forum and let the rewriting occur in the rest of the dirs?



Community Member, 3 Posts

29 July 2008 at 10:03am

Hi it's me again.

Just began playing with it and found a working solution. Just added the following line AFTER the SS section:

RewriteRule ^subdir/([0-9]+)-([a-z]+) http://forum.mydomain.tld [NC]

Both the forum and the page work

Thanks to all who thought on my problem :)


Community Member, 3 Posts

30 July 2008 at 4:44am

So It seems I did rejoice before time! :)

The forum is seen only if you know a "long" link, kind like:


but if you attempt to simply go to


no joy! :(

So if anyone knows of any solutions to this little problem or has any suggestion of any kind, I'll be grateful.


Matt Hardwick

Community Member, 61 Posts

21 August 2008 at 1:09pm

Edited: 21/08/2008 1:10pm

I made the forum a separate alias in Apache /html/forum and /html/public so separate folders, and created a /forum alias on Apache...

What I did before that, and actually have gone back to, is:

Create a Redirector Page with the URI of /forum, and have it redirect to /forum/index.php - see the screenshot below.
This also allows me to have a link to the forum in the navigation as if it was any other page :)