Permalink issues after changing hosting provider
-
We have just changed hosting for our site to AWS. In the new site the permalink structure defaulted to plain option (Where previously it was set to post name) when we change it from plain to post name now all the pages are getting page not found errors.
Here is the htaccess code in place: (Not sure if this is the issue or not)
<IfModule LiteSpeed>
###LSCACHE START PLUGIN – Do not edit the contents of this block!###
RewriteEngine on
CacheLookup public on###LSCACHE START RESOURCE###
RewriteRule wp-content/.*/[^/]*(loader|fonts|\.css|\.js)\.php – [E=cache-control:max-age=3600]
###LSCACHE END RESOURCE###
###LSCACHE START FAVICON###
RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
###LSCACHE END FAVICON###
###LSCACHE END PLUGIN – Do not edit the contents of this block!###
</IfModule># 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># END WordPress
# compress text, html, javascript, css, xml:
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
AddType x-font/otf .otf
AddType x-font/ttf .ttf
AddType x-font/eot .eot
AddType x-font/woff .woff
AddType image/x-icon .ico
AddType image/png .pngThe page I need help with: [log in to see the link]
The topic ‘Permalink issues after changing hosting provider’ is closed to new replies.