[Zen Cart] Custom redirect of main URL
-
- Posts: 1
- Joined: Wed Jun 23, 2010 12:58 am
[Zen Cart] Custom redirect of main URL
Our company, in its infinite wisdom, has decided to use WordPress as a cms and wants the main domain (http://www.domain.com and domain.com) to redirect to the WordPress install that is located in /wp. I managed to do this on our development site using DirectoryIndex so that
http://www.domain.com and domain.com -> http://www.domain.com/wp/index.php.
The direct access to our ZenCart installation still works at http://www.domain.com/index.php just fine so all we need to do is put a link to it from the new main page.
However, when I tried the same on our live site MagicSEO's .htaccess overrode the Apache directive in the virtual host so it does not work. I've tried modifying the /.htaccess file but MagicSEO keeps rewriting it.
What is the best way to accomplish what we want to do? php re-directs? Modify MagicSEO somehow?
Regards,
Stephan
http://www.domain.com and domain.com -> http://www.domain.com/wp/index.php.
The direct access to our ZenCart installation still works at http://www.domain.com/index.php just fine so all we need to do is put a link to it from the new main page.
However, when I tried the same on our live site MagicSEO's .htaccess overrode the Apache directive in the virtual host so it does not work. I've tried modifying the /.htaccess file but MagicSEO keeps rewriting it.
What is the best way to accomplish what we want to do? php re-directs? Modify MagicSEO somehow?
Regards,
Stephan
Re: [Zen Cart] Custom redirect of main URL
Please see the manual where you will find how to protect your .htaccess file.