Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] .htaccess mod_rewrite Re: [Solved] .htaccess mod_rewrite

#71631
copperSmith
Member

I’ve kept tinkering… Oddly enough, I think that I just got what I asked for and it still didn’t work?

Code:
# BEGIN DIRECTORY REDIRECTION
RewriteEngine on
RewriteBase /
RedirectMatch 301 /about/(.*).shtml http://trinityportland.org/our-school/about/$1.shtml
# END DIRECTORY REDIRECTION

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.