Set subdomains live in a next step

If you choose subdomains, then you will have to configure wildcard subdomains on your server. That is pretty much going to be the end of your current subdomains. Well, not entirely. If you configure sub1.domain.at and sub2.domain.at before *.domain.at then sub1 and sub2 should probably still work. However, you cannot WordPress and another system running … Read more

WordPress | Sub-domain switching

You can Use qTranslate, this WordPress plugin let you have an easy to use interface for managing a fully multilingual web site. One-Click-Switching between the languages – Change the language as easy as switching Choose one of 3 Modes to make your URLs pretty and SEO-friendly. – The everywhere compatible ?lang=en, simple and beautiful /en/foo/ … Read more

Htaccess for Wordpess set on single subdomain

My suggestion is: use the same standard .htaccess configuration for WordPress on a single domain in each WordPress directory. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Along with it, add a small CODE to make sure users are redirected to the … Read more

Subdomains to pages

It’s better to use WP_Rewrite for that. add_action(‘page_rewrite_rules’,’my_page_rules’); function my_page_rules($rules){ $pageslug = ‘sample-page’; $rules[‘([^/]+)/?$’] = ‘index.php?pagename=”$pageslug”/$matches[1]’; return $rules; } add_filter( ‘page_link’, ‘sub_page_link’); function sub_page_link(){ // preg_replace here } I have found a premium plugin which uses the same mechanism to convert pages into subdomain, it uses rewrite rules and Server WildCard Configured. Hope it is … Read more

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