I have a web site.
(我有一个网站。)
I rearranged my main navigation menu with new URLs. (我用新的URL重新排列了主导航菜单。)
But, I can't use them... Because when I open a new page which is called as "about", it turns out like root/index.php/about instead of just root/about. (但是,我无法使用它们...因为当我打开一个称为“大约”的新页面时,结果却像root / index.php / about而不只是root / about。)
I tried these codes in my .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</IfModule>
# END WordPress
# php -- BEGIN cPanel-generated handler, do not edit
# “ea-php72” paketini varsay?lan “PHP” programlama dili olarak ayarlay?n.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
And this one was the original:
# 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
# php -- BEGIN cPanel-generated handler, do not edit
<IfModule mime_module>
AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Working URL Example: https://www.fitpandas.net/index.php/schedule/ The Targeted URL Example: https://www.fitpandas.net/schedule/
(工作网址示例: https : //www.fitpandas.net/index.php/schedule/目标网址示例: https : //www.fitpandas.net/schedule/)
What should I do, can you give me an example?
(我该怎么办,您能举个例子吗?)
ask by Koray GüBüR translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…