General Topics > General Discussion

How to change url

(1/1)

Rafich:
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

Basara:
Hello.
You need to enable SEO Urls http://docs.abantecart.com/pages/tips/enable_seo.html

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:
thank you marshasarv

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod