Note that there are some explanatory texts on larger screens.

plurals
  1. POOpenCart sub-domain .htaccess issue
    text
    copied!<p>I have installed opencart on my company's subdomain like so: <a href="http://store.example.in" rel="nofollow noreferrer">http://store.example.in</a>, that is, by creating a sub-domain below the main domain since I did not want to disturb the main site. Unfortunately I am unable to get clean SEO-friendly urls even after enabling them through the admin panel (System | Settings | Server | Use SEO URLs -> Yes). I also added the <code>.htaccess</code> file to the installation root, the partial contents of which are as below:</p> <pre><code># SEO URL Settings RewriteEngine On # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L] RewriteRule ^download/(.*) /index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?route=$1 [L,QSA] </code></pre> <p>I tried changing the <code>RewriteBase /</code> thingy to <code>RewriteBase /store.example.in/</code> and even <code>RewriteBase /store/example.in/</code> but no-go there too.</p> <p>I tried searching for an answer and found very few links to a solution which also included this: <a href="https://stackoverflow.com/questions/4862691/opencart-htaccess-issue">Opencart .htaccess issue</a> which also did not help much.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload