Search

Hi, I'm new to Symphony after a client has asked us to update his site. I've duplicated the site to our server in a sub directory. When I view the site, all the images are missing and while the link URLs are correct, when I click on a link it's redirecting to the root. Same issue for trying to access the admin area - so I get a 404 page. Its seems to me that I need to add the sub directory to the .htaccess and this would resolve this issue, but I'm not sure where to add it? There's all sorts of rewrite conditions and rules. For example here's the line for the admin rewrite:

ADMIN REWRITE

RewriteRule ^symphony/?$ index.php?mode=administration&%{QUERY_STRING} [NC,L]

Please help.

Cheers

If you want the site to run in a subdirectory, it should be enough to change RewriteBase / to RewriteBase /subfolder/.

That worked a treat! Thanks so much.

You're welcome!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details