.htaccess and search-engine-friendly urls
-
I don’t know much about .htaccess when it comes to using modrewrite.
I have a script that generates dynamic images and had found an .htaccess that allowed the images to be called with a “friendly” or “pretty” url.
I.E. https://www.example.com/dynamic/name/image.png would call https://www.example.com/dynamic.php?name=image.png
All worked well until I installed WordPress and changed the permalink structure to the date/name-based option.
The line I had in my .htaccess file to call the dynamic images was “RewriteRule dynamic/(.*)/(.*)$ /dynamic.php?$1=$2” and it worked fine, but putting this back in doesn’t seem to work anymore.
If anyone knows what to do in this situation or at least point me to a working resource where I can learn to fix it myself, I’d greatly appreciate it. Thank you.
- The topic ‘.htaccess and search-engine-friendly urls’ is closed to new replies.