Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

WordPress 301

$
0
0

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&gt;: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&gt;:<port>/wordpress/”>here.</p>
</body></html>

Please advise, how to fix this issue.

Thanks,
Rajendra


Viewing all articles
Browse latest Browse all 59525

Trending Articles