WordPress on localhost redirecting to unknown ip

Hi please check first your wp-config file and see is there is set any homepage url? if there then change if not then go to website database and edit table ‘wp-options’ where you find siteurl and homepage url then make them same. You can also check the .htaccess (hidden file in root) also for redirection. … Read more

modifying htaccess for localhost with a custom port

To be honest, I’d change my .conf file to state the correct port if you’ve got access to that. For instance. <VirtualHost *:8012> ServerAdmin webmaster@localhost DocumentRoot /var/www/LOCATION OF FILES <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/LOCATION OF FILES> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> Then i’d restart … Read more

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