We can create MySQL database in different ways . Today I
will show you how to create database using XAMPP control panel. To do it first
install XAMPP in your computer. Be remember you should installed it D or E or F
drive. Please do not install into in C drive. By default it installed in C
drive. After installing Run the XAMPP. It will show a screen given below-
If you can access your website by abc.com/public and if you want to access it by just Garmentspedia
Then just rewrite the following code in .htaccess file in public folder.
RewriteRule ^(.*)/$ /$1 [L,R=301] to RewriteRule ^(.*)/$public /$1 [L,R=301]