Force separate wordpress page to load before homepage loads

Asked by:
HubFans / n/a Points
Time:
2016-09-19 9:05 pm EST
Category:
Wordpress
Hits:
212
Hi there. So I have two sites, site A, and site B. I would like an option page on site A which I have created to allow people to choose to either go to the site A homepage, or the site B homepage. If I set that site A option page to the homepage, then every time the user visits the homepage, they will see that options page. So I need to force that options page to only load once before the website loads.

I was thinking of manually setting an index.php, or index.html page to load, which could have the options, but I don't really know how to do this.

Thank you.

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
16,266 Points
2016-09-19 9:27 pm EST
Hello,

Thank you for your question on setting an options page as your main redirect. It sounds as if you say you want the page to display only when they arrive, is that correct?

You can set the initial page to be different than the traditional index.html or index.php page by using the .htaccess file using the Directory Index option. This way the links to your home page will remain and not show the options page, but the options page will appear whenever someone visits the domain URL (example.com)

Kindest Regards,
Scott M

To submit a comment on this answer, please first login.

So I updated the htaccess to point to choices.html, which is using an HTML file with a meta tag to forward to the options page. But now it always forwards to the options page.

goto www.fpcsonora.com to see.
subtopic
20 Points

2016-09-19 10:50 pm EST
Click the second button that says, "If not, click here".
subtopic
20 Points

2016-09-19 10:52 pm EST
I did this because I don't know how to use the .htaccess file to point to a wordpress page. I tried adding the URL, but it gave me an index of the entire site when I did that.
subtopic
20 Points

2016-09-19 10:53 pm EST
You may need to create page for your front page that exists outside the WordPress. You also may be able to find a plugin that does what you want, but so far my search has not come up with any.
ScottM
16,266 Points
Staff
2016-09-19 11:07 pm EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}