Author
Topic: htaccess (Read 367 times)

Hello,Is this right that I have two htaccess files one that is .htaccess and one that is htaccess.txt? the .htaccess file size is 4321, htaccess.txt is 2800. I did enable seo urls but they are still php.

When you say that if the site is installed in a subdomain to add /subfolder/ is that the folder that the site is installed in, and do I add the name of the file instead of the /subfolder/

Thank you for that info,Now when a sub domain that the cart is installed in. it looks like this store.xxxxxxxxxxx.com/. Is this why I am having problems with the seo urls working? I noticed that the manual states about added to rewrite in htaccess /subfolder/ Do I just add that info or should I give that my name of the folder the cart is installed in? I really don't underatand how to edit a htaccess file.

I believe you have some misunderstanding of subdomain and subfolder (or subdirectory).

a primary domain abc.com a subDOMAIN would be 123.abc.com the 123. in front of the primary domainA subfolder would be abc.com/123 the 123 at the end of the primary domain.

you can also have a subfolder in a subdomain 123.abc.com/storeIf you have an installation in a subdirectory abc.com/store

Edit file .htaccess If abantecart is installed in yourdomain/ subfolder change configuration line RewriteBase / to RewriteBase /subfolder/. # Example: yourdomain.com/store use RewriteBase /store/ # Important to have / at the end of the line.

and rename your .htaccess.txt file to .htaccess - note the . (dot) at the beginning must remain.

HelloI tried to edit the htaccess file. Now the site is showing seo urls but getting 500 error

Am I supposed to have 2 .htaccess files? One file size is 4322 and the other size is 2800

I edited the larger file to this

where it was /subfolder/ I changed to /xxxxxx.xxxxxxxxxxxxx.com/ then I started to get the 500 error. So I changed the file back to /subfolder/ Still getting 500 error. I know I have done something wrong but don't know where to start.

I have been looking at the settings and I have done what you suggested and still get the 500 error. I have contacted a2 hosting about this issue and they given me the path. I still get the 500 error. I think I know the difference between a subfolder and a subdomain. I have been looking at the Knowledge base. That page is talking about /subfolder/

Before I installed Abantecart I talked to a2hosting about how to go about it as I already have an active domain that I want to transfer to Abantecart. What they said was I needed to create a subdomain then install into that subdomain. I didn't create a folder I let softalous do the installing in side the subdomain. The cart is working fine as long as I don't enable the seo url's