Install In Sub Directory Redrects To Home, What Am I Doing Wrong

Been banging my head and cant see what Ive done wrong here.

copied all files from root to /v4

changed config.php http://prntscr.com/fm3w76

Changed .htaccess rewritebase to http://prntscr.com/fm3x8z

added store in admin http://prntscr.com/fm3xtd

Database is pointing to right locations of new database

Deleted cache directory

but www.hivis.co.uk/v4 and admin still redirects to root ?

Any help please.

John

Been banging my head and cant see what Ive done wrong here.

copied all files from root to /v4

changed config.php http://prntscr.com/fm3w76

Changed .htaccess rewritebase to http://prntscr.com/fm3x8z

added store in admin http://prntscr.com/fm3xtd

Database is pointing to right locations of new database

Deleted cache directory

but www.hivis.co.uk/v4 and admin still redirects to root ?

Any help please.

John

If this a multi store setup. then you do not need to setup a sub folder, you just go into manage stores, add the new store. Call it lets say test and fill in the url as www.yoursite.com/test

the new site will be availabel at www.yoursite.com/test

Or is it a complete new installation in a sub folder.?

Alan

Been banging my head and cant see what Ive done wrong here.

copied all files from root to /v4

changed config.php http://prntscr.com/fm3w76

Changed .htaccess rewritebase to http://prntscr.com/fm3x8z

added store in admin http://prntscr.com/fm3xtd

Database is pointing to right locations of new database

Deleted cache directory

but www.hivis.co.uk/v4 and admin still redirects to root ?

Any help please.

John

I just noticed that you have havis.co.uk in the admin url, try http://www.havis.co.ukor just www.havis.co.uk as the domain without the www. may be redirected to www.havis.co.uk at the domain reg.

Alan

Been banging my head and cant see what Ive done wrong here.

copied all files from root to /v4

changed config.php http://prntscr.com/fm3w76

Changed .htaccess rewritebase to http://prntscr.com/fm3x8z

added store in admin http://prntscr.com/fm3xtd

Database is pointing to right locations of new database

Deleted cache directory

but www.hivis.co.uk/v4 and admin still redirects to root ?

Any help please.

John

Hello! You should check .htaccess file in your root folder.

This is set up in a sub folder so I can update to the latest version, and then transfer to root.


Hello! You should check .htaccess file in your root folder

Htaccess is as in 1st post http://prntscr.com/fm3x8z I dont see issue with this, do you ?

John

This is set up in a sub folder so I can update to the latest version, and then transfer to root.

Htaccess is as in 1st post http://prntscr.com/fm3x8z I dont see issue with this, do you ?

John

Can you remove the last "/" symbol after "/v4/" in your htaccess file? And can i see your full .htaccess file?

Can you remove the last "/" symbol after "/v4/" in your htaccess file? And can i see your full .htaccess file?

yes, tried both ways

DirectoryIndex index.html index.php

# Compress HTML, CSS, JavaScript, Text, XML, fonts
AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript application/json
AddOutputFilterByType DEFLATE application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf font/opentype font/otf font/ttf application/x-woff application/x-font-woff
AddOutputFilterByType DEFLATE text/css text/html text/plain

# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent




Header set Access-Control-Allow-Origin "*"


Cache all images for 2 weeks

ExpiresActive on ExpiresDefault "access plus 2 weeks" Header set Cache-Control "max-age=1209600" RewriteEngine on # Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon. # Some hostings require RewriteBase to be uncommented # Example: # Your store url is http://www.yourcompany.com/store/cart # So "RewriteBase" should be: # RewriteBase /store/cart RewriteBase /v4 Options -MultiViews

RewriteRule ^init.php$ - [F,L,NC]

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

yes, tried both ways

DirectoryIndex index.html index.php

# Compress HTML, CSS, JavaScript, Text, XML, fonts
AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript application/json
AddOutputFilterByType DEFLATE application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf font/opentype font/otf font/ttf application/x-woff application/x-font-woff
AddOutputFilterByType DEFLATE text/css text/html text/plain

# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent




Header set Access-Control-Allow-Origin "*"


Cache all images for 2 weeks

ExpiresActive on ExpiresDefault "access plus 2 weeks" Header set Cache-Control "max-age=1209600" RewriteEngine on # Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon. # Some hostings require RewriteBase to be uncommented # Example: # Your store url is http://www.yourcompany.com/store/cart # So "RewriteBase" should be: # RewriteBase /store/cart RewriteBase /v4 Options -MultiViews

RewriteRule ^init.php$ - [F,L,NC]

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

I don't see a problem in your .htaccess file. You should contact to your hosting support.

Thanks

Set it up as a subdomain instead.

Been banging my head and cant see what Ive done wrong here.

copied all files from root to /v4

changed config.php http://prntscr.com/fm3w76

Changed .htaccess rewritebase to http://prntscr.com/fm3x8z

added store in admin http://prntscr.com/fm3xtd

Database is pointing to right locations of new database

Deleted cache directory

but www.hivis.co.uk/v4 and admin still redirects to root ?

Any help please.

John

PM me temporary access, we will check the issue

Cs cart checked and found I had a redirect from V4 to root, must have been left by a dev. Wasnt me