admin管理员组文章数量:1130349
I'm at my wits end, I migrated a website onto a different server and after a lot of setting up I finally have it where it works – kinda. The Permalinks are broken and throw errors that the site can't be found.
Inside the httpd.conf I set the right (I think) settings:
<Directory /opt/wordpress>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
The htaccess is there and writeable by WP
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
But I can't seem to get them to work, all searching left me at this dead end. Any help is greatly appreciated.
The server is running Apache on CentOS, running PHP7 if that matters somehow.
I'm at my wits end, I migrated a website onto a different server and after a lot of setting up I finally have it where it works – kinda. The Permalinks are broken and throw errors that the site can't be found.
Inside the httpd.conf I set the right (I think) settings:
<Directory /opt/wordpress>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
The htaccess is there and writeable by WP
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
But I can't seem to get them to work, all searching left me at this dead end. Any help is greatly appreciated.
The server is running Apache on CentOS, running PHP7 if that matters somehow.
Share Improve this question asked Nov 8, 2018 at 23:35 Günther FeldbaumerGünther Feldbaumer 1 1- Did you change the domain name? Did you copy all assets (including the uploads folder where all media is stored)? Did you follow standard guidance on moving a site (see the Codex)? – Rick Hellewell Commented Nov 9, 2018 at 1:59
1 Answer
Reset to default -1I feel stupid but I didn't realize the httpd.conf loads another config at a later point where it was configured to override AllowOverride again. Changed it there to All and it worked, thank you!
I'm at my wits end, I migrated a website onto a different server and after a lot of setting up I finally have it where it works – kinda. The Permalinks are broken and throw errors that the site can't be found.
Inside the httpd.conf I set the right (I think) settings:
<Directory /opt/wordpress>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
The htaccess is there and writeable by WP
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
But I can't seem to get them to work, all searching left me at this dead end. Any help is greatly appreciated.
The server is running Apache on CentOS, running PHP7 if that matters somehow.
I'm at my wits end, I migrated a website onto a different server and after a lot of setting up I finally have it where it works – kinda. The Permalinks are broken and throw errors that the site can't be found.
Inside the httpd.conf I set the right (I think) settings:
<Directory /opt/wordpress>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
The htaccess is there and writeable by WP
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
But I can't seem to get them to work, all searching left me at this dead end. Any help is greatly appreciated.
The server is running Apache on CentOS, running PHP7 if that matters somehow.
Share Improve this question asked Nov 8, 2018 at 23:35 Günther FeldbaumerGünther Feldbaumer 1 1- Did you change the domain name? Did you copy all assets (including the uploads folder where all media is stored)? Did you follow standard guidance on moving a site (see the Codex)? – Rick Hellewell Commented Nov 9, 2018 at 1:59
1 Answer
Reset to default -1I feel stupid but I didn't realize the httpd.conf loads another config at a later point where it was configured to override AllowOverride again. Changed it there to All and it worked, thank you!
本文标签: Permalinks not working after Migration – AllowOverride Allhtaccess set
版权声明:本文标题:Permalinks not working after Migration – AllowOverride All, htaccess set 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749194610a2330743.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论