Replies: 0
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 http://<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
- This topic was modified 57 minutes ago by rajendrapopuri05.
- This topic was modified 46 minutes ago by rajendrapopuri05.