I have this strange problem after copying my website to a new server:
Urls are rewritten correctly, images are not.
When i disable friendly urls the images are loading, when i enable them they are not loading.
The rewritten product urls are working flawlessly with friendly urls disabled, so i would guess its not the mod rewrite module.
Deleting .htaccess and letting thirtybees it generate again didnt help aswell..
error log gives this:
023/07/24 20:47:12 [error] 621591#621591: *1 openat() "/home/sennevb/web/mywebsite.be/public_html/877-community-theme-default_large_default/home-control-videofoon-1-drukknop-pakket-22x.jpg" failed (2: No such file or directory), client: 87.67.112.179, server: mywebsite.be, request: "GET /877-community-theme-default_large_default/home-control-videofoon-1-drukknop-pakket-22x.jpg HTTP/2.0", host: "www.mywebsite.be", referrer: "https://www.mywebsite.be/nl/niko-home-control/niko-home-control-voor-busbekabeling/overige-componenten/videofonie/home-control-videofoon-1-drukknop-pakket-2"
2023/07/24 20:47:12 [error] 621591#621591: *1 openat() "/home/sennevb/web/mywebsite.be/public_html/877-community-theme-default_cart_default/home-control-videofoon-1-drukknop-pakket-22x.jpg" failed (2: No such file or directory), client: 87.67.112.179, server: mywebsite.be, request: "GET /877-community-theme-default_cart_default/home-control-videofoon-1-drukknop-pakket-22x.jpg HTTP/2.0", host: "www.mywebsite.be", referrer: "https://www.mywebsite.be/nl/niko-home-control/niko-home-control-voor-busbekabeling/overige-componenten/videofonie/home-control-videofoon-1-drukknop-pakket-2"
2023/07/24 20:47:27 [error] 621591#621591: *1 openat() "/home/sennevb/web/mywebsite.be/public_html/877-community-theme-default_large_default/home-control-videofoon-1-drukknop-pakket-22x.jpg" failed (2: No such file or directory), client: 87.67.112.179, server: mywebsite.be, request: "GET /877-community-theme-default_large_default/home-control-videofoon-1-drukknop-pakket-22x.jpg HTTP/2.0", host: "www.mywebsite.be"
So the image urls aren't rewritten for some reason 🤔
Question
sennevb
Hello,
I have this strange problem after copying my website to a new server:
Urls are rewritten correctly, images are not.
When i disable friendly urls the images are loading, when i enable them they are not loading.
The rewritten product urls are working flawlessly with friendly urls disabled, so i would guess its not the mod rewrite module.
Deleting .htaccess and letting thirtybees it generate again didnt help aswell..
error log gives this:
023/07/24 20:47:12 [error] 621591#621591: *1 openat() "/home/sennevb/web/mywebsite.be/public_html/877-community-theme-default_large_default/home-control-videofoon-1-drukknop-pakket-22x.jpg" failed (2: No such file or directory), client: 87.67.112.179, server: mywebsite.be, request: "GET /877-community-theme-default_large_default/home-control-videofoon-1-drukknop-pakket-22x.jpg HTTP/2.0", host: "www.mywebsite.be", referrer: "https://www.mywebsite.be/nl/niko-home-control/niko-home-control-voor-busbekabeling/overige-componenten/videofonie/home-control-videofoon-1-drukknop-pakket-2" 2023/07/24 20:47:12 [error] 621591#621591: *1 openat() "/home/sennevb/web/mywebsite.be/public_html/877-community-theme-default_cart_default/home-control-videofoon-1-drukknop-pakket-22x.jpg" failed (2: No such file or directory), client: 87.67.112.179, server: mywebsite.be, request: "GET /877-community-theme-default_cart_default/home-control-videofoon-1-drukknop-pakket-22x.jpg HTTP/2.0", host: "www.mywebsite.be", referrer: "https://www.mywebsite.be/nl/niko-home-control/niko-home-control-voor-busbekabeling/overige-componenten/videofonie/home-control-videofoon-1-drukknop-pakket-2" 2023/07/24 20:47:27 [error] 621591#621591: *1 openat() "/home/sennevb/web/mywebsite.be/public_html/877-community-theme-default_large_default/home-control-videofoon-1-drukknop-pakket-22x.jpg" failed (2: No such file or directory), client: 87.67.112.179, server: mywebsite.be, request: "GET /877-community-theme-default_large_default/home-control-videofoon-1-drukknop-pakket-22x.jpg HTTP/2.0", host: "www.mywebsite.be"
So the image urls aren't rewritten for some reason 🤔
Edited by sennevbAny toughts?
log insert
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now