Wordpress Google Cloud Launcher可以与website.com/index.php/whatever一起使用

时间:2017-02-01 14:08:52

标签: php wordpress virtual-machine google-cloud-launcher

因此,在通过Google Cloud Launcher部署Wordpress后,安装了该网站。

如果我创建一个页面,例如:Contacts 本网站只能通过website.com/index.php/contacts访问 而不是直接访问website.com/contacts

我的.htacces如下:

# BEGIN rlrssslReallySimpleSSL rsssl_version[2.4.3]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
# END rlrssslReallySimpleSSL
# 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

我的Permanlink设置为帖子名称https://www.ccpalt.com.do/sample-post/

我还应该编辑什么?

0 个答案:

没有答案