set cookies for my whole site is not working
in domain Name I’ve used this $urlOfSite = get_option(‘home’); $url = parse_url($urlOfSite, PHP_URL_PATH); url path . This is working for me .
in domain Name I’ve used this $urlOfSite = get_option(‘home’); $url = parse_url($urlOfSite, PHP_URL_PATH); url path . This is working for me .
If you have access to phpmyadmin the best way in my opinion is to get WP migrate Db Plugin, then create an export sql file with new url address and upload it with PhpmyAdmin. That way you ensure that every place in the site with old url get replaced with new url in a safe … Read more
This can be done. What you want in your .htaccess is something like if directory do not exist in root change root to the wordpress directory unfortunately I am not familiar with a way to do such a thing with .htaccess The other option is to map each possible url directory to the wordress directory, … Read more
Sounds like your Apache httpd.conf is missing a virtual host entry for port 443. Listen 443 <VirtualHost *:443> ServerName www.foo.com DocumentRoot /var/www/www.foo.com/htdocs CustomLog /var/log/apache/www.foo.com-access.log combined ErrorLog /var/log/apache/www.foo.com-error.log # Example SSL configuration SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 SSLCertificateFile “/var/www/www.foo.com/ssl/server.crt” SSLCertificateKeyFile “/var/www/www.foo.com/ssl/server.key” </VirtualHost> Source: http://wiki.apache.org/httpd/ExampleVhosts
Index (Home) page not displayed when running wordpress in a subdirectory
You actually already were pretty close: function autoblank($text) { $return = str_replace(‘href=”https://wordpress.stackexchange.com/questions/138730/,”target=”_blank” href=”, $text); $return = str_replace( “target=”_blank” href=”‘ . get_site_url(), ‘href=”‘ . get_site_url(), $return ); $return = str_replace(‘target=”_blank” href=”#”https://wordpress.stackexchange.com/questions/138730/,”href=”#’, $return); return $return; } add_filter(‘the_content”https://wordpress.stackexchange.com/questions/138730/,”autoblank’); add_filter(‘comment_text”https://wordpress.stackexchange.com/questions/138730/,”autoblank’);
Hijack site url on sub domain for translation
Get into your WordPress dashboard, from Users » Your Profile, and check the “Show Toolbar when viewing site”.
If you have access to the wp-config.php on the server, you can add the following constants that will override the database. This does not save the settings but will at least get you viewing the site again. define( ‘WP_SITEURL’, ‘url_to_wordpress_core_files’ ); define( ‘WP_HOME’, ‘url_to_wordpress_front_end’ ); There is also a RELOCATE constant that will make the … Read more
Try to install plugin duplicator and create a snapshot than with the install.php and related zipped file you need to copy in a subdir or in the root (copy all site an db in local for secure restoring) the two file and launch install.php, in a wizard there is a step in wich you can … Read more