Shared cPanel Hosting 包不提供可用于 WordPress 网站的暂存 URL
Shared cPanel Hosting package doesn't provide a staging URL that can be used with WordPress sites
我想听听 WordPress 网站开发人员 的意见,他们的网站是通过 shared cPanel 托管包托管的...还有谁在网站上线之前使用了分期URL。
是否有任何 cPanel 托管公司提供适当的分段 url,可用于在域名指向服务器之前在服务器上完成 WordPress 安装?如果是这样,分期是什么格式URL?
这里是我在托管公司遇到的问题的详细解释(仅是我的 WordPress 网站的问题):
My cPanel 'staging URL' includes my cPanel user-id as a sub-directory, as in this
format: https://cpanelserver.com/~cpaneluserid/. This means that no
WordPress site will be able to use this staging URL format -
because WordPress interprets the /~cpaneluserid/ as a page name.
So when I use the staging url, instead of giving me the home page of
the site as it should, WordPress takes me to a page called
"~cpaneluserid", which is of course a page with no content.
And trying to navigate away from this invalid page (page that has no
content) doesn't work, as this coding: <?php bloginfo( 'url' ); ?>
will always return https://cpanelserver.com/~cpaneluserid/, so the new
page link will give you this URL:
https://cpanelserver.com/~cpaneluserid/newpage/, showing the 'newpage'
as a sub-directory of this invalid page '~cpaneluserid'.
This also means I can't get into the Admin area to even finish off the
WordPress install (eg: save Permalinks) - because to login the url
would look like this: https://cpanelserver.com/~cpaneluserid/wp-admin/ -
which is not the correct address for the admin area!
Nor can I show my client
their website design, to get their approval, before they go live.
.
有没有其他人在他们的共享 cPanel 托管公司遇到过这个问题,你是如何解决的?
如果有任何建议可以帮助我解决这个问题,我将不胜感激。
终于解决了问题
我之前 post 就此问题提出了类似的问题 - post 包含解决方案 - 如下所示:.
注意: 这个 post 实际上更好地说明了问题,我更希望有与这个 post 相关的解决方案,但是 WP版主已删除此 post.
中的答案
我想听听 WordPress 网站开发人员 的意见,他们的网站是通过 shared cPanel 托管包托管的...还有谁在网站上线之前使用了分期URL。
是否有任何 cPanel 托管公司提供适当的分段 url,可用于在域名指向服务器之前在服务器上完成 WordPress 安装?如果是这样,分期是什么格式URL?
这里是我在托管公司遇到的问题的详细解释(仅是我的 WordPress 网站的问题):
My cPanel 'staging URL' includes my cPanel user-id as a sub-directory, as in this format: https://cpanelserver.com/~cpaneluserid/. This means that no WordPress site will be able to use this staging URL format - because WordPress interprets the /~cpaneluserid/ as a page name.
So when I use the staging url, instead of giving me the home page of the site as it should, WordPress takes me to a page called "~cpaneluserid", which is of course a page with no content.
And trying to navigate away from this invalid page (page that has no content) doesn't work, as this coding:
<?php bloginfo( 'url' ); ?>
will always return https://cpanelserver.com/~cpaneluserid/, so the new page link will give you this URL: https://cpanelserver.com/~cpaneluserid/newpage/, showing the 'newpage' as a sub-directory of this invalid page '~cpaneluserid'.This also means I can't get into the Admin area to even finish off the WordPress install (eg: save Permalinks) - because to login the url would look like this: https://cpanelserver.com/~cpaneluserid/wp-admin/ - which is not the correct address for the admin area!
Nor can I show my client their website design, to get their approval, before they go live.
.
有没有其他人在他们的共享 cPanel 托管公司遇到过这个问题,你是如何解决的?
如果有任何建议可以帮助我解决这个问题,我将不胜感激。
终于解决了问题
我之前 post 就此问题提出了类似的问题 - post 包含解决方案 - 如下所示:
注意: 这个 post 实际上更好地说明了问题,我更希望有与这个 post 相关的解决方案,但是 WP版主已删除此 post.
中的答案