Answers for "wordpress htaccess redirect"

6

wordpress default htaccess

# BEGIN WordPress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
Posted by: Guest on March-02-2021
0

wordpress redirect all pages to new domain htaccess

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L]
</IfModule>
Posted by: Guest on April-21-2021

Code answers related to "wordpress htaccess redirect"

Browse Popular Code Answers by Language