change URIs of migrated site

Site works with “plain” permalinks. Check write permission in your main wordpress dir, maybe wordpress can’t write .htaccess file (you can upload it via FTP). Check if mod_rewrite on server is enabled. mod_rewrite status can be checked printing phpinfo(). If .htaccess file is missing, upload a similar one: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On … Read more

Non-wordpress subdomain on Multisite Installation

In .htaccess you have to (make sure that you set your directory right !^/../ABC/ ) RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?2subdomain.example.com$ RewriteCond %{REQUEST_URI} !^/../ABC/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /ABC/$1 RewriteCond %{HTTP_HOST} ^(www.)?2subdomain.example.com$ RewriteRule ^(/)?$ ABC/index.php [L] https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

Redirect only PDFs in different folders?

If all of the .pdf pages need to redirect to the same page, and provided you don’t have any .pdf pages that don’t need redirecting, you might be able to use something like the following in your .htaccess file… RewriteCond %{REQUEST_URI} .*\.(pdf) RewriteRule ^(.*)/ https://new.example.com/new_page/ [R]

Pretty URL via Rewrite

It’s the redirect in htaccess that will route the “pretty” url into the real querystring based url that is the issue. So, it would seem you need to “remove” the /{nicename} portion from the “pretty” URL of the form https://example.com/members-list-profile/{nicename}/?uid=XX. Try something like the following at the top of your .htaccess file (before the WordPress … Read more