Where are all the "redirections" saved?
Posted by: HolyMoly (---.sitbs.at)
Date: March 09, 2023 08:58AM

Hi,

wamp is always redirecting me to urls/paths/directories no more exist.
How can I reset those redirections?

Re: Where are all the "redirections" saved?
Posted by: HolyMoly (---.sitbs.at)
Date: March 09, 2023 09:14AM

The thing is - i have a new subfolder in www directory and wamp redirects me the old one i delted.

Re: Where are all the "redirections" saved?
Posted by: RiggsFolly (Moderator)
Date: March 09, 2023 09:22AM

Can you tell us which folders you are talking about please. The more information you give us the better we can help you.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Re: Where are all the "redirections" saved?
Posted by: HolyMoly (---.sitbs.at)
Date: March 09, 2023 09:34AM

Yeah, sorry, I'm a little p***ed because nothing works.

vhosts-conf
---------
# Virtual Hosts
#

<VirtualHost *:80>
ServerName localhost
ServerAlias localhost

DocumentRoot "c:/wamp64/www"
<Directory "c:/wamp64/www/">
AllowOverride All
Options +Includes +FollowSymLinks
Require local
</Directory>
</VirtualHost>

-----

SSL-conf
Listen 0.0.0.0:443
Listen [::0]:443

<VirtualHost *:443>
ServerName www.example.shop
ServerAlias www.example.shop

SSLEngine on
SSLCertificateFile "c:/Certbot/live/www.example.shop/fullchain.pem"
SSLCertificateKeyFile "c:/Certbot/live/www.example.shop/privkey.pem"

DocumentRoot c:/wamp64/www/example
<Directory "c:/wamp64/www/example/">
Require all granted
Options +Includes +FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>


httpd-conf
ServerName www.example.shop:80
ServerName www.example.shop:443

now if I change the root dir to the old one, it was "c:/wamp64/www/ps1801" then everything works.
but the new docroot is "c:/wamp64/www/example/"
When I type the url "[www.example.shop]; (to get in back offince f.e.) I get a 301 or 302 to
"localhost/ps1801/adminfoo" sad smiley



Edited 1 time(s). Last edit at 03/09/2023 09:42AM by HolyMoly.

Re: Where are all the "redirections" saved?
Posted by: HolyMoly (---.sitbs.at)
Date: March 09, 2023 09:36AM

I deleted cookies, browser cache. I have a suspicion it has to do something with the .htaccess files in prestashop.
That's the content in docroot



Edited 1 time(s). Last edit at 03/09/2023 09:40AM by HolyMoly.

Re: Where are all the "redirections" saved?
Posted by: HolyMoly (---.sitbs.at)
Date: March 09, 2023 09:58AM

yeah, I think this is a prestashop issue...

Sorry, only registered users may post in this forum.