Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I am running MAMP on my local machine and have checked test_rewrite which says it is indeed set. I then set K_PRETTY_URLS to 1 on the config.php file and then went to gen_access.php to get the code to add to .htaccess which I did. But now after doing all of that, it does seem to try to get the correct 'pretty' URL, for example http://localhost:8888/winklet1/gallery/ but it shows up as a page not found error: The requested URL /gallery.php was not found on this server.

Why is this happening? As far as I can tell, I've done all the required steps and checks to get this working. Any help would be greatly appreciated! Thanks!
Just shortly after posting this, I found the cause of the issue. Maybe it will be useful to share in case others have the same problem. Because I'm developing sites locally, I've got each one in a subfolder under localhost. So near the beginning of the .htaccess file I had to add the folder name after RewriteBase /

(ex: RewriteBase/winklet1)

That fixed it.
Thanks for sharing with us!
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
3 posts Page 1 of 1