Automattic / Automattic/wp-super-cache

when i active mod_rewrite my home page change, help please

Open
#939 1 comment 0 reactions 0 assignees View on GitHub
[Plugin] Super Cache bug
Dominant language
PHP
Stars
436
Forks
130
Avg merge
15h 11m
Merged PRs (30d)
10

Description

hello i have wordpress of my main domain of cpanel installed in a custom File, i mean it's in public_html/mycustomfile, all is ok i previously configured my wordpress to work in that file,

but when i active mod_rewrite and then i write my domain url it takes me to mydomain.com/mycustomfile(page 404), i guess i need to change something in rules that wp super cache add to htaccess to don't take me to mydomain.com/mycustomfile, someone can help me please?

thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue mentions WordPress installed under public_html/mycustomfile, mod_rewrite, and rules added to .htaccess by WP Super Cache. Start by reproducing the redirect and 404 with mod_rewrite enabled, then compare the generated .htaccess rules; done means the domain loads the intended home page without /mycustomfile.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, php
Domain
backend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.