Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do I not need rewritebase file htaccess #2975

Closed
bhraqnet opened this issue May 4, 2015 · 1 comment
Closed

do I not need rewritebase file htaccess #2975

bhraqnet opened this issue May 4, 2015 · 1 comment

Comments

@bhraqnet
Copy link

bhraqnet commented May 4, 2015

Seems to be working, , do I not need rewritebase
Delete RewriteBase /

    # Prevent Direct Access to files
      <FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
     Order deny,allow
     Deny from all
    </FilesMatch>

      # 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/ 

      RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
      RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
      RewriteRule ^system/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]
@osworx
Copy link
Contributor

osworx commented May 6, 2015

Why do so many people think they know everything better??
I would suggest, first inform yourself (search engines do a good job in this), and then - and only if you are sure that you have to say something, post it in the correct forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants