• Through a series of stupid mistakes, all of my post URLs have ended up in a different subdirectory than my homepage – and all of the links from the homepage loop nowhere. I just need to make a simple change to my URL structure to fix this problem…

    https://www.theaccessroad.com/?p=412
    needs to turn into…
    https://www.theaccessroad.com/accessroad/?p=412

    I thought this was something I could do by implementing a custom URL structure on the “permalink settings” page, but this doesn’t seem to be working. (Yes, my .htaccess is getting updated; it just doesn’t work.)

    Is there another way I could do this – maybe using mod_rewrite in the .htaccess file myself? What would the code look like?

    I’m pulling my hair out! Thanks to anyone who can offer even the smallest bit of feedback.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jeffere312

    (@jeffere312)

    Anyone have any thoughts on this at all? I’m guessing it’s pretty simple!

    Change your permalink structure to:
    /index.php/%year%/%monthnum%/%day%/%postname%/

    You probably do not have mod_rewrite enabled (a server thing.)
    Also, if your HTACCESS is not updating, set the CHMOD to 777.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘mod_rewrite without using the permalink settings?’ is closed to new replies.