28-Dec-2022 10:50
Below is the apache .htaccess content and we are using it in wordpress. i want to use the same for word press with nginx. any one please assist me.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /blogswordpress/
RewriteRule ^index\.php$ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>
29-Dec-2022 00:00
There was a similar question weeks ago.
Here it is:
https://community.f5.com/t5/technical-forum/htaccess-to-nginx-rules/m-p/305305#M263855
04-Jan-2023 18:01
@vinodhkannanaws - just checking - did you follow @mihaic 's link, and did that help you out, or do you need more assistance?