.htaccess 我不能更改我的WordPress网站主页

ubbxdtey  于 2022-11-16  发布在  WordPress
关注(0)|答案(1)|浏览(146)

我想改变我的WordPress网站的主页,这是www.jubinavchadha.com我想它是www.jubinavchadha.com/home .我在互联网上搜索,并做了所有的事情,它说,我尝试改变静态页面功能尝试从设置的阅读部分.甚至尝试目录索引功能,但它是造成了很多问题,像它是在Firefox上工作,但不是在Chrome上.当我们键入网站的域名(从所有者的Angular 来说)时,有没有办法在文件管理器中找到我们登陆的页面名称和路径,因为如果我知道当前主页的文件路径,我就可以在该页面上放置重定向代码,这就可以解决我的问题
这是我的htaccess代码

# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<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
sz81bmfz

sz81bmfz1#

在你的htaccess文件中尝试下面的脚本。把它放在最上面。看看它是否解决了你的问题。

RewriteEngine On
RewriteRule ^/?$ /home/ [L,R=303]

相关问题