Skip to content

why does it add /wp to url? #4

@timbakkum

Description

@timbakkum

I am using your starter project for a project locally and have my MAMP host set to the public directory, but why I go to my project localhost, it automatically adds /wp to every url. I.e. local.myproject/wp or local.myproject/wp/wp-admin Why does it do this and is there any easy way to get rid of this?

edit: I seemed to have gotten rid of the /wp in the url by moving the .htaccess file up one directory and changing the rewrite base and rule to / from /wp. I'm by no means an expert with this, so wondering if this is the right way to do it or is there a better way?

update: this actually makes /wp-admin and /wp-includes inaccessible.. anybody got an idea on how to get around this issue? I'd appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions