WordPress 301
-
Hi,
I am getting 301 response when I accessing the wordpress URL with curl command on the command line. My .htaccess file is as below.# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
=======================
curl -l https://<hostname>:8180/wordpress
<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved :https://<hostname>:<port>/wordpress/”>here.</p>
</body></html>Please advise, how to fix this issue.
Thanks,
Rajendra
- The topic ‘WordPress 301’ is closed to new replies.