Jun 12
If your blog system is wordpress on apache, and you use rewrite rule for it. I’m looking for a way to implement WordPress’s simple htaccess pretty url rules for Nginx.
.htaccess file:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Fllow is my nginx’s rewrite rule for wordpress:
location / {
index index.php index.html;
if (!-e $request_filename)
{
rewrite ^/(.+)$ /index.php?p=$1 last;
}
}
Samsung d8000 I enjoyed reading your blog post. Lots of crazy comments on this internet site Keep up the nice work. Longing for your future post….
I enjoyed reading your blog post. Lots of crazy comments on this internet site Keep up the nice work. Longing for your future post….
I not to mention my buddies happened to be going through the nice helpful hints on your site while immediately got an awful suspicion I had not thanked the web site owner for them. All the women became consequently joyful to read through them and have in effect truly been having fun with those things. Many thanks for truly being simply accommodating as well as for making a choice on certain excellent subject areas most people are really desperate to know about. My sincere regret for not expressing gratitude to you earlier.
Thank you so much pertaining to giving us an update on this topic on your web site. Please realise that if a completely new post appears or in the event any changes occur to the current publication, I would want to consider reading more and finding out how to make good usage of those methods you share. Thanks for your efforts and consideration of others by making this blog available.