Forums

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

Home Forums Design clubbing a wordpress theme with another wordpress theme/html5 pages Reply To: clubbing a wordpress theme with another wordpress theme/html5 pages

#241308
Senff
Participant

Ok, so then start with putting the files of your site into the directory “minisite” instead of the root (where all your WordPress files are).

Your WordPress site might think that http://www.xyz.com/minisite is actually a page called “minisite” so you probably have to do some additional work in .htaccess file. Something like this should be added above the WordPress stuff:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/minisite/(.*)$ [OR]
RewriteRule ^.*$ - [L]
</IfModule>

From a structural point of view though, it might be better to have the WordPress site also in a subdirectory on your root as well, something like this:

  • yoursite.com/
    • wordpress/
    • minisite/

And then following this process, you can make sure that http://www.yoursite.com makes the user go to http://www.yoursite.com/wordpress automatically (so you won’t see the “wordpress” in the URL).