About a domain redirect to another index.html related issues

Source: Internet
Author: User
About redirecting domain names to another index.html issue?
I have a PHP Web site, the server has a Web root directory, access to the first-level domain name Open is the home page, the entire Site header page is a php template to do, I want to change the homepage to a index.html of my own definition, page footer what all write their own, ask you big God some change how to do? Preferably there is also a root directory, you can freely add pages.
Know the friend please say how to modify the, domain redirection can also be manipulated. PHP Domain name Templates Home Index page

Share to:


------Solution--------------------
To Baidu "Apache pseudo-static" or "Nginx pseudo-static"
------Solution--------------------
You mean that you want to separate HTML and PHP, and find a template engine can be.
------Solution--------------------
Do a pseudo-static direct positioning to index.html

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.