Title: permalink problem
Last modified: March 26, 2019

---

# permalink problem

 *  Resolved [Sparkey](https://wordpress.org/support/users/sparkey/)
 * (@sparkey)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-104/)
 * I have searched everywhere and haven’t found the answer.
 * I believe the problem is that I have wordpress core files in their own directory.
 * the problem is the links to the events on the event calendar are rewritten with
   the directory name, but that isn’t where the event is located so I get a 404.
 * I am sure I explaining this poorly so there is a link to events page, clicking
   on an event will show 404
 * (I have tried “_Go to Events > Settings > Pages in the admin menu and set ‘Disable
   title rewriting?’ to Yes in the Events List/Archives panel. When you do this,
   just below you’ll also have an option of formatting the secondary title that 
   is inserted as a result._” but it doesn’t seem to help)
 * Thank you
    RandyC
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpermalink-problem-104%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-104/#post-11358960)
 * No Randy, that is not the reason, because that is not how WP works.
    Have you
   tried flushing the permalinks?
 * Dashboard > Settings > Permalink > Update.
 *  Thread Starter [Sparkey](https://wordpress.org/support/users/sparkey/)
 * (@sparkey)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-104/#post-11359008)
 * Thank you Patrick for helping,
 * Yep, I have updated permalinks multiple times, everytime I change a setting at
   EM I believe.
 * Not sure what you meant by “that is not the reason, because that is not how WP
   works’
 * But I had decided that EM must be looking at the WP General Setting: “WordPress
   Address (URL)”
 * for creating the links??
    -  This reply was modified 7 years, 2 months ago by [Sparkey](https://wordpress.org/support/users/sparkey/).
    -  This reply was modified 7 years, 2 months ago by [Sparkey](https://wordpress.org/support/users/sparkey/).
 *  [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-104/#post-11359061)
 * > I believe the problem is that I have wordpress core files in their own directory.
 * That is not (exactly) how WordPress works. 😉
 * What have you filled out in Events > Settings > Pages > Permalink Slugs?
 *  Thread Starter [Sparkey](https://wordpress.org/support/users/sparkey/)
 * (@sparkey)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-104/#post-11359117)
 * So I thought you had it, because I found “events” in that setting
 * I changed it to upcoming-events and flushed permalinks and it still added “WordPress
   Address Directory”
 * I disabled Events > Settings > Pages > Event List/Archives Disable title rewriting?
 * flushed again
 * reenabled flushed again
 * still adding the “WordPress Address Directory”
 * By the way I just moved the website live this morning and it was easier to move
   all the core files to their own directory— so all the events were created in 
   the old sandbox location originally.
 * Also I have since run “Better Search Replace” a couple of times once to replace
   basic links and another time to change the locations of images.
 * But I decided that EM was creating these links?
 * Thank you again! for all your time
 *  Thread Starter [Sparkey](https://wordpress.org/support/users/sparkey/)
 * (@sparkey)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-104/#post-11362377)
 * I gave up,
 * I haven’t marked this resolved but I went ahead and moved the core files to the
   root folder and gave up on having the separate directory for them.
 * Now the Events manager plugin is creating permalinks correctly, so as far as 
   I can see, what I was trying to do isn’t possible with this plugin, which is 
   no big thing after almost 15 years of playing with wordpress I don’t feel like
   I have ever made that work.
 * As a matter of fact the Wp Admin bar wasn’t working either, I am surprised how
   much I count on that thing I hated at first!
 * Again Thank you Patrick for trying!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘permalink problem’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Sparkey](https://wordpress.org/support/users/sparkey/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-104/#post-11362377)
 * Status: resolved