Home › Forums › Back End › [Solved] .htaccess mod_rewrite › Re: [Solved] .htaccess mod_rewrite
I’ve kept tinkering… Oddly enough, I think that I just got what I asked for and it still didn’t work?
RewriteEngine on
RewriteBase /
RedirectMatch 301 /about/(.*).shtml http://trinityportland.org/our-school/about/$1.shtml
# END DIRECTORY REDIRECTION
-
original url: http://trinityportland.org/about/index.shtml
redirected url: http://trinityportland.org/our-school/about/index.shtml[/list:u]
but I still get errors:
Chrome:
This webpage has a redirect loop.
The webpage at http://trinityportland.org/our-school/about/index.shtml has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
FF: 403
You don’t have permission to access /our-school/about/index.shtml on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I don’t understand these errors… When navigating the site, from the homepage, I get these same errors when clicking through to links that originally point to the correct file-path as well. Going directly to: trinityportland.org/our-school/about/index.shtml renders these same errors.