[program-l] Re: php and Wordpress questions

  • From: "Jacob Kruger" <jacob@xxxxxxxxxxxxx>
  • To: program-l@xxxxxxxxxxxxx
  • Date: Thu, 25 Oct 2018 14:03:41 +0200

Right at top of current index.php page:

<?php header("Location: wordpress/index.php"); exit; ?>

That will redirect serving/browsing to said page mentioned in that
Location header, and, the exit; instruction will just tell it to stop
right there, after sending the redirection header.

HTH

Jacob Kruger
Blind Biker
Skype: BlindZA
"Resistance is futile...but, acceptance is versatile..."
On 2018-10-25 1:17 PM, John J. Boyer wrote:

Recently I installed WordPress in a subdirectory on my website. I need
to set up an index.php on the base directory of
the site that simply starts the index.php in the Wordpress subdirectory.
What I want is something like goto
wordpress/index.php

I plan to leave the existing pages on the website where they are and
place links to them in the Wordpress home page.
Some should go before the post section and some after it. How can this
be done?

Thanks,
John



** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: