News:

AbanteCart v1.4.2 is released.

Main Menu

How to change url

Started by Rafich, May 24, 2017, 06:49:19 AM

Previous topic - Next topic

Rafich


Basara


marshasarv

The solution of the URL Changing-

WINDOWS + WAMP solution

Step 1

Go to C:(Back Slash)wamp(Back Slash)bin(Back Slash)apache(Back Slash)Apache2.2.17(Back Slash)conf(Back Slash)
open httpd.conf file and change
#Include conf(Back Slash)extra(Back Slash)httpd-vhosts.conf
to
Include conf(Back Slash)extra(Back Slash)httpd-vhosts.conf
i.e. uncomment the line so that it can includes the virtual hosts file.

Step 2

Go to C:(Back Slash)wamp(Back Slash)bin(Back Slash)apache(Back Slash)Apache2.2.17(Back Slash)conf(Back Slash)extra
and open httpd-vhosts.conf file and add the following code

<VirtualHost myWebsite.local>
    DocumentRoot "C:(Back Slash)wamp(Back Slash)www(Back Slash)myWebsite(Back Slash)"
    ServerName myWebsite.local
    ServerAlias myWebsite.local
    <Directory "C:(Back Slash)wamp(Back Slash)www(Back Slash)myWebsite(Back Slash)">
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
change myWebsite.local and C:(Back Slash)wamp(Back Slash)www(Back Slash)myWebsite(Back Slash) as per your requirements.

Step 3

Open hosts file in C:(Back Slash)Windows(Back Slash)System32(Back Slash)drivers(Back Slash)etc(Back Slash) and add the following line ( Don't delete anything )

127.0.0.1 myWebsite.local
change myWebsite.local as per your name requirements

Step 4

restart your server. That's it

WINDOWS + XAMPP solution

Same steps as that of WAMP just change the paths according to XAMPP which corresponds to a path in WAMP


Basara


Forum Rules Code of conduct
AbanteCart.com 2010 -