Logo
My Journal
Tag

htaccess

Tag

Exclude folder from htaccess rewrites

When you are running a CMS, or for example a Blog you might also have SEO url's enabled through .htaccess rewrites. A common problem with these rewrites can be that you are no longer able to install a second application in a subfolder since those foldernames are included in the rewrites and can caus...

Continue reading ...

How can I do a 301 redirect?

Here are some basic 301 redirect examples via the .htaccess text file (please create or upload this file in the folder you want to perform the redirect from). For example placing the .htaccess file into the /xmodx.com/web/content/ folder (via FTP), will perform the redirect when a visitor goes to h...

Continue reading ...