Virtuemart Links not working

Virtuemart links going to some other site.

Generally happens when we change the configuration parameters or when you go from test server to a live server.

Reason the urls are not stored in the database when it is changed instead links are stored in a file called virtuemart.cfg.php inside administrator->components->com_virtuemart.

Trying to search in database would be waste and you will be wondering why the hell it is getting redirected to some other site when there is no links to that site in database.

Follow these steps to recover:-

Go to the file mentioned above

Around line no 34-35 you will see this lines

define( 'URL', 'http://localhost/joomlaoldsite/' );
define( 'SECUREURL', 'https://localhost/joomlaoldsite/' );

Change it to

define( 'URL', 'http://joomlalivesite.tld/' );
define( 'SECUREURL', 'https://joomlalivesite.tld/' );


For any other queries you can jump to our question and answer section.

Members Login
Site Updates
  • 20 hours 47 minutes ago
  • party6favor9 created a new topic ' pink drinking straws   ' in the forum.
    Xinhua News Agency Reuters a helicopter on the 13th North East of England in the UK later crashed in Norfolk,pink drinking straws, four people were killed,colord straws, including Northern Ireland's richest man, Senators Edward? Howie.

    Norfolk Police said people heard loud alarm, emergency personnel arrived at 7:30 the night scene. "Crash site as a wilderness, there are some trees, all four people on the helicopter were pronounced dead on the spot."

    Since the incident was already dark,paper straws wholesale, fog shrouded the limited on-site survey. Police launched an autopsy on the 14th.

    UK Met Office and local residents confirmed that the incident was fog, visibility is affected.

    aircraft destination is believed to Northern Ireland,paper straws. Howie, one of the victims of Northern Ireland's richest man, according to the "Sunday Times" Rich List published in 2013, Howie net worth of $ 1.43 billion.

    British media reported that the name of Howie Howie airline said last year, a helicopter manufacturer Agusta - a helicopter flight mapping system Westland delivered misgivings. Agusta - Westland a spokesman said the company has been in the investigation.

    (Original title: Northern Ireland's richest man sitting in a helicopter crash killed)

    cheap paper straws

    pom poms wholesale Army Air Corps commander killed in the accident.
  • dexter432 - added a new event, Not A Guitar!