marek91
Forum Replies Created
-
Forum: Localhost Installs
In reply to: Multisite local install with XAMPP – SubdomainsYes
Forum: Localhost Installs
In reply to: Sub Domains – WP Multi Site Local InstallIf anyone runs into this problem:
- Go to Settings > General in the dashboard.
- Ensure that the URL in
WordPress Address (URL)
matchesSite Address (URL)
Forum: Networking WordPress
In reply to: WordPress Multisite Local DevelopmentHello Andrea_r
Thank you I opted to just add it the ServerAlias way as you suggested. What confuses me is they are exactly the same up until you change the theme on one of the sites. I expected there to be some different welcome page or something.
Anyways thank you again for your time.
Forum: Networking WordPress
In reply to: WordPress Multisite Local DevelopmentThanks to all for your replies.
So I have my wordpress installation configured so I can reach it via:
I went through all the proper instructions and I set up the multisite feature.
Now I added:
127.0.0.1 site1.wordpress.dev to the hosts file.
I added via network admin dashboard a new site which I of course named site1.wordpress.dev. Now when I click to go to the dashboard of site1.wordpress.dev I reach an error page.
This is leaving me thinking that I should add a virtual host named site1.wordpress.dev to the httpd-vhosts.config file in apache.
Here’s the problem…If I define document root as:
DocumentRoot “C:/xampp/htdocs/wordpress
then site1.wordpress.dev will be an exact copy of wordpress.dev.
How can I set this up so that site1.wordpress.dev is a new wordpress site not just a copy of wordpress.dev.
Forum: Networking WordPress
In reply to: WordPress Multisite Local DevelopmentOk so I figured out how to change ‘localhost’ to any domain name. That is I can access https://localhost/wordpress using https://wordpress. However what I’m wondering is if I were to access this ‘mirror’ site https://wordpress and login as an administrator, would wordpress multisite allow me to add a new subdomain like https://site1.wordpress.
Basically what I’m curious of is say I added this mirror domain. I would have two domains and one installation of wordpress (sharing the same wp-config file and such). If I enabled the multisite feature would wordpress view me as https://localhost/wordpress or https://wordpress?
I’m aware that all this can be found out by installing Xampp and testing these things out. But it would save me a lot of time if someone with experience in this could help me out.
Forum: Networking WordPress
In reply to: WordPress Multisite Local DevelopmentThanks for the reply Andrea_r.
The last time I installed Xampp the location of the wordpress url was something like https://localhost/wordpress, from there I set up the multisite feature as per usual and selected to make the network under sub-directories as it wouldn’t let me make it under sub-domains. Now I did attempt to add a fake domain like localhost/wordpress/site1 to the hosts file. But since you aren’t allowed any / ‘s in the hosts file I couldn’t.So I guess my question is this: is there any way I could set up Xampp so that my main site url would be something like https://wordpress i.e. without the localhost.
Also, when you add a fake domain to the hosts file is there anything that should be added or uncommented in the .httpd and .httpd-vhosts files in apache?
I greatly appreciate your help on this.
Forum: Fixing WordPress
In reply to: Calling Javascript In WordPress PagesYes, I looked over that.
So far I’ve tried calling the script like so:
<script type="text/javascript" src="https://www.unitconversion.org/converter3/converter3.js"></script>
which didn’t change anything. I also tried uploading the sites JavaScript files to my site and called it as follows:
<script>uc_datapath="/https://www.enggplusplus.org/conversion/converter3-engine/converter3.js"</script><script src=/https://www.enggplusplus.org/conversion/converter3-engine/converter3.js></script>
and right beneath…
<script type="text/javascript"> <!-- jx2_0(); //--></script>
I put these codes directly into the HTML editor on WordPress pages.
None of them have worked for me, I have also tried contacting unitconversion.org multiple times but they have not replied of late.