Create a blank test.php

I usually do this for just code (no HTML): add_action(‘template_redirect’, ‘test’); function test() { // code goes here die; } For dealing with HTML I prefer blank theme, set up for testing. If you want to test in context of existing theme create custom page template, add/remove elements according to your needs and assign to … Read more

Test site pages go to main site

Your htaccess file seems to be a little off. I would suggest the first part of the file should look like the following… <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /testsite/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /testsite/index.php [L] </IfModule> And that you store it in the ‘testsite’ folder not the root.

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