简体   繁体   English

joomla url不起作用

[英]joomla url is not working

I have transferred my project from one server to new server. 我已将项目从一台服务器转移到新服务器。

index.php/component/mylist/?ctrl=list&action=catalog&Itemid=573&manufacturer=101291 index.php / component / mylist /?ctrl = list&action = catalog&Itemid = 573&manufacturer = 101291

This url is working only in old server but not in new server. 该网址仅在旧服务器上有效,而在新服务器上无效。

I used this url instead of above url for new server 我将这个网址而不是上面的网址用于新服务器

index.php?option=com_mylist&ctrl=list&action=catalog&Itemid=573&manufacturer=101291 index.php?option = com_mylist&ctrl = list&action = catalog&Itemid = 573&manufacturer = 101291

Is working fine in new server 在新服务器上工作正常

Can we work this url in new server 我们可以在新服务器中使用此网址吗

index.php/component/mylist/?ctrl=list&action=catalog&Itemid=573&manufacturer=101291 index.php / component / mylist /?ctrl = list&action = catalog&Itemid = 573&manufacturer = 101291

Try copying the .htaccess file from the old server within root of the installation. 尝试从安装根目录中的旧服务器复制.htaccess文件。 Also, make sure the Global Configuration settings are identical. 另外,请确保“全局配置”设置相同。

Edit 编辑

The easiest way to transfer a Joomla site to a new server is to use https://www.akeebabackup.com/products/akeeba-backup.html 将Joomla网站转移到新服务器的最简单方法是使用https://www.akeebabackup.com/products/akeeba-backup.html

Just backup the site with the component then use the kickstart.php file to extract the website. 只需使用该组件备份网站,然后使用kickstart.php文件提取网站。 You may need to rename/copy the .htaccess file still. 您可能仍需要重命名/复制.htaccess文件。

Use apache? 使用apache吗? only apache server works an .htaccess file configuration. 只有apache服务器可以使用.htaccess文件配置。 IIS and others not work these method. IIS等无法使用这些方法。

Your ftp client show the hidden files? 您的ftp客户端显示隐藏文件? .foo is hidden for linux servers. .foo对于linux服务器是隐藏的。

It looks like in your old server, you had default sef enabled (configuration->enable sef). 看起来在您的旧服务器中,您已启用了默认sef(配置->启用sef)。 On your new server, you have it disabled. 在新服务器上,将其禁用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM