Create SEO permalinks using PHP without .htaccess
问题 Currently, my page URLs look this this: http://ourdomain.com/articles/?permalink=blah-blah-blah I want to convert these to: http://ourdomain.com/articles/blah-blah-blah How can I accomplish this using PHP but not with .htaccess? 回答1: How can i accomplish this using php but not with .htaccess.. You can't. You will need to tell the web server how to deal with URLs that don't physically exist. In Apache, that is done in the central configuration or in a .htaccess file. If your server already