Re: How to browse to index.php OR index.html on WordPress site?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018-02-22 (15:38 MST), Kent West <westk@xxxxxxx> wrote:
> 
> But I still need to manually be able to get to the full-blown .php-based site. When I web-browse to sitename/index.php, it reroutes to sitename/index.html. If I change the .conf file to "DirectoryIndex index.html index.php" and restart Apache2, that doesn't help.


I have, in http.conf:

<IfModule dir_module>
    DirectoryIndex index.php index.html 
</IfModule>

Which loads index.php by default if it's present, otherwise index.html

Neither 'redirects' to the other.

I've never used a site.conf in this way, but I have overridden the default in a site conf:

DirectoryIndex index.htm

for example.

Wordpress has a pretty complicated .htaccess file, did you check there?

-- 
"I've just learned about his illness. Let's hope it's nothing trivial."
Irvin S. Cobb


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux