How to get the correct URL on my wordpress site?

A combination of answers for you. To remove the “wordpress” from your URL path, I would recommend the following step-by-step on “Using a pre-existing subdirectory”. http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install The end result will be your WordPress content pages at “mydomain.no” instead of “mydomain.no/wordpress”. The second part of the problem will involve writing 301 redirects for the URLs that … Read more

How would I get this to work – send to post from thick box

The correct way to do this is to: $(‘#upload-background-image-one’).click(function() { formfield = $(‘#background-size-one’).attr(‘name’); tb_show(”, ‘media-upload.php?type=image&TB_iframe=true’); // Take the selected image and insert only the src path into the text field. window.send_to_editor = function(html) { img_url = $(‘img’, html).attr(‘src’); $(‘#background-size-one’).val(img_url); tb_remove(); } return false; }); because when you click on a button you instantiate a call … Read more

Customize WordPress Upload Directory

Can’t test at the moment but I’d try rewriting the date to variable code from: $time = current_time( ‘mysql’ ); $y = substr( $time, 0, 4 ); $m = substr( $time, 5, 2 ); $subdirectory = “/$y/$m”; To: $y = date(‘Y’); $m = date(‘m’); $subdirectory = “https://wordpress.stackexchange.com/” . $y . “https://wordpress.stackexchange.com/” . $m;

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