News:

Looking for documentation? Take a look on our wiki

Main Menu

Redirect to different domain

Started by hk, August 10, 2013, 13:47:00 PM

Previous topic - Next topic

hk

Hi,

I am using VM 2.0.18.

I have my own domain <abc.com> for which DNS are pointed to my hosting account (xx.xyz.com). When I search something in Google related to my website, it shows result with URL xx.xyz.com instead of my own domain abc.com

I checked with Google and they said its Crawling, Indexing and Ranking issue and suggested me to use 301 redirect. Since I have lot of products, I need to redirect all the pages.

Can you please let me know what should I edit in the htaccess file.

Thanks.

Thanks.

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jenkinhill

.htaccess syntax can vary between servers, so you will have to research & test. eg http://stackoverflow.com/questions/13001173/htaccess-301-redirect-from-old-domain-to-new-domain-while-structure-of-pages-an  or  http://301redirects.net/redirect-old-domain-to-new-website.php

Note, this is a hosting/domain issue and not a VirtueMart question.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum