Redirect only PDFs in different folders?

If all of the .pdf pages need to redirect to the same page, and provided you don’t have any .pdf pages that don’t need redirecting, you might be able to use something like the following in your .htaccess file… RewriteCond %{REQUEST_URI} .*\.(pdf) RewriteRule ^(.*)/ https://new.example.com/new_page/ [R]

WordPress drop domain alias

If you are NOT using WordPress MultiSite add the following in wp-config.php. define( ‘WP_HOME’, ‘http://klenotnictvi-benesov.cz’ ); define( ‘WP_SITEURL’, ‘http://klenotnictvi-benesov.cz’ ); If you ARE using WordPress MultiSite you will need to access the database directly and edit the wp_options table and change “siteurl” & “home” to the correct url. Here is more info on changing the … Read more

fixing page URL’s

You may want to contact the authors of the premium theme you are using. This may be in reference to a custom post type and you’ll probably need some custom code to change the url slug.

How do I point bloginfo(‘stylesheet_directory’) to my parent theme?

If the parent theme is properly coded, the following code in the child theme functions.php file should load the parent css. <?php add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ ); function my_theme_enqueue_styles() { wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ ); } ?> As for the javascript, I think that if the parent theme loads theme with wp_enqueue_scripts they should work … Read more

Post not redirecting to non www after changing from www

I did it through cpanel That’s certainly part of the problem. cPanel will add the redirect at the end of the .htaccess file (after the WordPress front-controller) – so they are not getting processed. You need to manually edit the .htaccess file to move these directives to the top. However, that doesn’t entirely answer your … Read more

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