search
HomeCMS TutorialECShopHow to remove index.php in ecshop

How to remove index.php in ecshop

Apr 01, 2021 am 09:09 AM
ecshop

ecshop method to remove index.php: First open the website root directory and find index.php; then change "ecs_header("Location: $Loaction\n");" to "ecs_header("Location:.. .");" is enough.

How to remove index.php in ecshop

The operating environment of this article: Windows 7 system, ecshop version 4.0, DELL G3 computer

ECSHOP mall optimization removes the index.php suffix Display method

ECSHOP mall optimization removes the index.php suffix display method. ECSHOP defaults to clicking on the homepage, for example: http://www.ecshop119.com/index.php. This suffix is ​​not conducive to SEO optimization. So ECSHOP Tutorial Network today explains how to remove this index.php

Open the root directory of the website and find index.php:

  if (!empty($Loaction))
    {
        ecs_header("Location: $Loaction\n");
        exit;
    }

Put:ecs_header("Location: $Loaction\n ");

Change to: ecs_header("Location: http://www.ecshop119.com");

Test the effect and open: http: //www.ecshop119.com/index.php Is there no index.php directly?

Recommended: "ECShop Tutorial"

The above is the detailed content of How to remove index.php in ecshop. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Atom editor mac version download

Atom editor mac version download

The most popular open source editor