Thread Starter
DJSR
(@djsr)
Sure:
RewriteEngine on
RedirectMatch temp ^/$ http://www.domain.com/frontpage/index.php
RedirectMatch temp ^//$ http://www.domain.com/frontpage/index.php
Options All
ErrorDocument 404 http://www.domain.com/errors/404.php
Thread Starter
DJSR
(@djsr)
http://website forwards me to http://website/frontpage/index.php. This has always been the case with my old website and it is how I want it to function.
However, my WordPress homepage is located at http://website/index.php by default. If I go there, I am automatically forwarded to http://website/frontpage/index.php as well due to how I wrote the .htaccess.
It should be quite easy to adjust, but I’m not a PHP expert, so I hope someone can tell me how to rewrite the .htaccess..