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

How to use slug with subdomain?

You can try using WP Subdomains plugin. It allows you to use Category slug, Page slug, or Author name as the subdomain name. You’ll have to configure your webserver for each subdomain you want to use. Make sure that a DNS entry has been added to point the subdomains to your server.

Pretty Url not working on the server

If you have dedicated server then you must follow the below steps to run with .htacess first of note that you need to create a configuration file for each site on your server using FTP. as below /etc/apache2/sites-available go above path and then create file with below formate e.g. domain_name.domain_extension.conf { hello.com.conf } add below … Read more

Install second wordpress in root subfolder, Error 404

I didn’t work with Apache for quite a while, so this is untested. RewriteBase is the base for your rewrite, so it’s added to your rule automatically and your .htaccess should look something like this: RewriteEngine On RewriteBase /wp/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] Look here … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)