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

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #241302
    chauhanheena
    Participant

    Hi,

    I want to do the following.

    I have a wordpress site http://www.xyz.com and its based on a theme bought from themeforest. It’s mostly a one page website but there is a blog which is not a part of the one page and opens as a multi page.

    I want to create a mini site withing this wordpress site. I can either use a different wordpress theme or use a html5 templates. Is it possible. If there are any steps to follow. I want to retain the http://www.xyz.com/minisite as the url.

    Thanks

    #241304
    Senff
    Participant

    So, do you want this mini site to be just the blog (that’s part of the original theme)?

    Or do you want a completely separate site at http://www.xyz.com/minisite with a different theme and such?

    #241305
    chauhanheena
    Participant

    Its not a blog. There already is a blog which is based on the main theme.
    Its going to be a totally different site with a different site with a different wordpress theme or a HTML5 pages. Which would be easier.

    http://www.xyz.com will have links to http://www.xyz.com/minisite.

    #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).

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design’ is closed to new topics and replies.