htaccess rule to ignore specific subdomain [closed]

Have asked my hosting support to check my DNS and there were 2 entries because I added an A record in WHM and also added the subdomain to the account in cpanel, they have removed one and all is now working. Apologies for posting in WordPress, not technically WordPress related as I first thought.

Add segment to URL in htaccess

Go to Settings/Permalinks and add the static string to to the permalink structure: No need to touch the .htaccess. Update To make WordPress sending a hash # for its post permalinks you have to filter pre_post_link to make the structure ‘#%postname%’ and post_link to remove trailing slashes: add_filter( ‘pre_post_link’, function( $permalink ){ return ‘#%postname%’; }); … Read more

How to rename the WordPress wp-login.php running on IIS6?

I wrote a blog post a while back, this is a quick and dirty hack to make hackers think your wp-login.php is a 404 page. http://dave.kz/hide-your-wp-login-page-from-hackers/. (From blog post) Basically, I’ve added… header(“HTTP/1.0 404 File Not Found”); to the top of the wp-login.php page. Hopefully the attacker is looking for a 200 HTTP response. In … Read more

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