VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: titolin10 on November 24, 2017, 15:25:44 PM

Title: After changing directory name then my shop keep redirect me to home page
Post by: titolin10 on November 24, 2017, 15:25:44 PM
Hello dear friends!

My question is related to joomla 3.8.2  more than my VM 3.2.6.

After I changed joomla installation directory (Renamed it) then all menu items and all links are not working now. Including VM links.

All links are redirecting me to the home page.

I tried many ways to solve this issue by changing logs and tmp locations and also clear cache and check in.

All ways don't work and I found that when I disable "SEO Settings" then all menu items works again but of course without shortcuts.


Any suggestions to solve it ?

Sincerely
Title: Re: After changing directory name then my shop keep redirect me to home page
Post by: Studio 42 on November 26, 2017, 16:01:09 PM
In oyur Joomla root :
Check the .htaccess for rewriteBase
And perhaps your config.php  livesite variable
Title: Re: After changing directory name then my shop keep redirect me to home page
Post by: titolin10 on November 27, 2017, 06:50:25 AM
Thank you I got it.

For reference I solved it by using the steps below:

1 - Global Configuration > System tab > Path to Log Folder  (Then you must make sure that the path is correct)

2 - Global Configuration > Server tab > Path to Temp Folder  (Then you must make sure that the path is correct)

3 - Using Ftp go to configuration.php file in your joomla directory. > then Find    public $live_site = '';  then add your website full url between "  (e.g. public $live_site = 'http:www.yoursite.com/newdirectoryname';

4 - clear all types of cache on your website from System menu > clear cache , and , clear expired cache.

5 - Clear your browser cache files.

6 - Now your website should work properly like in my case and after that you have to open configuration.php file again then remove the url again to be as it was before.


I hope this will help anyone searching for solution for the same issue.

Thanks
Title: Re: After changing directory name then my shop keep redirect me to home page
Post by: GJC Web Design on November 28, 2017, 00:33:39 AM
Quote3 - Using Ftp go to configuration.php file in your joomla directory. > then Find    public $live_site = '';  then add your website full url between "  (e.g. public $live_site = 'http:www.yoursite.com/newdirectoryname';

this would have been the main problem .. it isn't normal to have any entry here for joomla.. I think it is sometimes used on Windows servers
Title: Re: After changing directory name then my shop keep redirect me to home page
Post by: titolin10 on November 29, 2017, 02:51:53 AM
Hello GJC

It worked with me then after that I removed this value again.