Quantcast
Channel: Software Support - PKP Community Forum
Viewing all articles
Browse latest Browse all 17650

Rename index.php to home.php

$
0
0

@escijour wrote:

Hi, I have installed OJS to the root directory and there is index.php file that is necessary for OJS functioning. I want to install Wordpress to the same directory that will ave its own index.php file.

Is there any possibility to change index.php to home.php

I tried mixing up the code of OJS and Wordpress but it do not work. I am copying therewith index.php code of WordPress

`<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( FILE ) . '/wp-blog-header.php' );`

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17650

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>