barronlau
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Recent products image too big and blurryOk, I fixed the blurry images by increasing the thumbnail size in the woocommerce catalog settings. But still the images are huge. They should be much smaller but I can’t fix. Please help.
Forum: Plugins
In reply to: [Auto Featured Image (Auto Post Thumbnail)] Plugin not workingok
I agree, but I just found it too slow if I had to update alot of images. uploading them to the site and checking over and over to see the result by refreshing was just taking too long. I can improve my own development time substantially if I use a local install. Everything lightning quick.
Any help with the external viewing?
Forum: Localhost Installs
In reply to: WordPress localhost multisite external viewI think I have to change the wp-config.php from ‘localhost’ to my new domain name? Whats the correct syntax? And if I do that it doesn’t seem to be able to access the database anymore.
I now signed up on a domain name and am pointing the A-record to my IP. when I type the url in a browser I can see the index page where I can see the subdirectory which wordpress is installed however when I click on that folder it resolves ‘localhost’ and obviously doesnt work.
my .htaccess file says this:
RewriteEngine On
RewriteBase /round5global/
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]and my wp-config file says this:
/* Multisite */
define(‘WP_ALLOW_MULTISITE’, true);define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);define(‘DOMAIN_CURRENT_SITE’, ‘localhost’);
define(‘PATH_CURRENT_SITE’, ‘/round5global/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
and this is in my wp-config.php
/* Multisite */ define('WP_ALLOW_MULTISITE', true); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', 'localhost'); define('PATH_CURRENT_SITE', '/round5global/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
However because I’m on a mac, my .HTACCESS file is hidden. Although I figured out how to get the right information into it, once I name it correctly it becomes hidden again automatically. Could that be the issue?
Or I’m thinking its because my multisite is resovled to ‘localhost’ rather then the domain name. But how do I change it? simply replacing ‘localhost’ with the domain name in the wp-config.php file?
This is my .htaccess file:
RewriteEngine On RewriteBase /round5global/ RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]
sorry the correct domain name is https://www.round5collectors.com that I registered and am using. typo above.