AbanteCart Community

General Topics => General Discussion => Topic started by: Rafich on May 24, 2017, 06:49:19 AM

Title: How to change url
Post by: Rafich on May 24, 2017, 06:49:19 AM
How to change url from //example.com/index.php?rt=product/product&product_id=51 to //example.com/category product / product,
Please help me. thank you :D :D :D :D
Title: Re: How to change url
Post by: Basara on May 24, 2017, 07:18:16 AM
Hello.
You need to enable SEO Urls http://docs.abantecart.com/pages/tips/enable_seo.html
Title: Re: How to change url
Post by: marshasarv on May 08, 2018, 07:11:41 AM
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

Title: Re: How to change url
Post by: Basara on May 08, 2018, 07:30:04 AM
thank you marshasarv