Wordpress Root Verzeichnis, Shopware Unterverzeichnis

Hallo,

ich habe unter der Domain www.kinder-cash.com meine Wordpress Seite. Bislang habe ich unter shop.kinder-cash.com den Shopware Shop.

Nun habe ich den kompletten Shop in das Verzeichnis kinder-cash.com/onlineshop kopiert. Neue Datenbank angelegt und die s_core_shop angepasst.

Rufe ich nun die Url kinder-cash.com/onlineshop auf, dann springt er aber immer sofort auf die alte Url shop.kinder-cash.com.

Wie kann ich das Problem lösen.

Vielen Dank

Entweder hast du noch eine Umleitung in der .htaccess oder den Cache nach den Änderungen nicht geleert.

Gerne “frisst” sich so eine Umleitung auch im DNS des Browsers fest. Kann auch helfen mal einen anderen Browser zu testen.

Hi,

also frischer Browser habe ich getestet, daran liegt es nicht :;(

Cache Shopware kann es auch nicht sein, den habe ich ebenfalls geleert. Ebenso Wordpress Cache.

Muss also irgendwie htaccass Problem sein, denke ich.

Hier die htaccess Shopware:

 

AddHandler php56-cgi .php
php_value memory_limit 512M



RewriteEngine on

RewriteBase /onlineshop/

Https config for the backend

#RewriteCond %{HTTPS} !=on
#RewriteRule backend/(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteRule shopware.dll shopware.php
RewriteRule files/documents/.* engine [NC,L]
RewriteRule backend/media/(.*) media/$1 [NC,L]

RewriteCond %{REQUEST_URI} !(/(engine|files|templates|themes|web)/)
RewriteCond %{REQUEST_URI} !(/media/(archive|banner|image|music|pdf|unknown|video)/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ shopware.php [PT,L,QSA]

Fix missing authorization-header on fast_cgi installations

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



# Block access to VCS directories

RedirectMatch 404 /\.(svn|git|hg|bzr|cvs)(/|$)

Staging environment

#SetEnvIf Host “staging.test.shopware.in” SHOPWARE_ENV=staging

Development environment

#SetEnvIf Host “dev.shopware.in” SHOPWARE_ENV=dev
#SetEnv SHOPWARE_ENV dev

DirectoryIndex index.html
DirectoryIndex index.php
DirectoryIndex shopware.php

Disables download of configuration



# Deny all requests from Apache 2.4+.



Require all denied

    # Deny all requests from Apache 2.0-2.2.
   

Deny from all

Enable gzip compression

#neue Module


mod_gzip_on Yes

mod_gzip_dechunk Yes

mod_gzip_item_include file .(html?|txt|css|js|php|pl)<br> mod_gzip_item_include handler ^cgi-script

mod_gzip_item_include mime ^text/.

mod_gzip_item_include mime ^application/x-javascript.


mod_gzip_item_exclude mime ^image/.*

mod_gzip_item_exclude rspheader ^Content-Encoding:.gzip.



ExpiresActive On

ExpiresByType image/gif “access plus 7 days”

ExpiresByType image/ico “access plus 7 days”

ExpiresByType image/jpeg “access plus 7 days”

ExpiresByType image/jpg “access plus 7 days”

ExpiresByType image/png “access plus 7 days”

ExpiresByType text/css “access plus 7 days”

ExpiresByType text/javascript “access plus 7 days”

ExpiresByType application/x-javascript “access plus 7 days”

ExpiresByType application/javascript “access plus 7 days”


#Ende neue Module



AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/javascript application/json





ExpiresActive on

ExpiresDefault “access plus 1 month”

   

Header append Cache-Control “public”

Header unset ETag

    FileETag None

Match generated files like:

1429684458_t22_s1.css

1429684458_t22_s1.js





Header set Cache-Control “max-age=31536000, public”

   

ExpiresActive on

ExpiresDefault “access plus 1 year”

Disables auto directory index



Options -Indexes



Options -MultiViews


php_value memory_limit 256M

php_value max_execution_time 120

php_value upload_max_filesize 20M

php_flag phar.readonly off

php_flag magic_quotes_gpc off

php_flag session.auto_start off

php_flag suhosin.session.cryptua off

php_flag zend.ze1_compatibility_mode off

  AddType x-mapp-php5 .php

  AddHandler x-mapp-php5 .php



ExpiresActive On

ExpiresByType image/gif “access plus 7 days”

ExpiresByType image/ico “access plus 7 days”

ExpiresByType image/jpeg “access plus 7 days”

ExpiresByType image/jpg “access plus 7 days”

ExpiresByType image/png “access plus 7 days”

ExpiresByType text/css “access plus 7 days”

ExpiresByType text/javascript “access plus 7 days”

ExpiresByType application/x-javascript “access plus 7 days”

ExpiresByType application/javascript “access plus 7 days”

gzip Compression if availiable



mod_gzip_on Yes

mod_gzip_dechunk Yes

mod_gzip_item_include file .(html?|txt|css|js|php|pl)<br> mod_gzip_item_include handler ^cgi-script

mod_gzip_item_include mime ^text/.

mod_gzip_item_include mime ^application/x-javascript.


mod_gzip_item_exclude mime ^image/.*

mod_gzip_item_exclude rspheader ^Content-Encoding:.gzip.

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

Hi,

ich habe nochmal bisschen gebastelt.

Jetzt erscheitn zwar der Shop, aber die Einkaufswelten werden nicht geladen. Stattdessen taucht die Startseite von Wordpress auf:

https://www.kinder-cash.com/onlineshop/