Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not identifying .htaccess file (unable to remove /index.php from URL) #114

Closed
eappleby opened this issue Apr 9, 2024 · 3 comments
Closed

Comments

@eappleby
Copy link

eappleby commented Apr 9, 2024

WP Version: 6.4.3
PG4WP Version: 3.3.1

Starting with fresh install of Wordpress and when I update the permalink and when I update the URL from /index.php/%year%/%monthnum%/%postname%/ to /%year%/%monthnum%/%postname%/ , it says "The requested URL was not found on this server."

Do you know why that is?

@mattbucci
Copy link
Collaborator

This doesn't sound related to pg4wp, but rather to your .htaccess file

@eappleby
Copy link
Author

eappleby commented Apr 9, 2024

The htaccess file is autogenerated by Wordpress. The issue is that when I change the permalink structure from anything that doesn’t start with /index.php, it says that the URL is not found on the server. This is a fresh install with no changes other than the permalink structure. Are you not able to replicate that issue?

@eappleby
Copy link
Author

eappleby commented Apr 9, 2024

This was my issue. Sorry about that. For reference, I used this to correct it: https://stackoverflow.com/a/42736732/1698908 (small typo in my .conf file)

@eappleby eappleby closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants