I have a website that is made on wordpress, and it is on the main domain for example test.com. From this wordpress application I need only production part and it will be on the subdomain product.test.com, and the main website will be on html and css. So the question is, can I do like that? And can this wordpress and html websites stay on different hostings?
And should I just change the wordpress application to product.test.com and then put the main html, css website on the main domain?
Yes, it is doable
Just when you go to manage domain > setup dns > change nameservers here
Here you can put your customized DNS or A records etc whenever will be required
It may vary hosting to hosting but the core part will remains same
Related
how to create another website on redirected site?
I want to use another theme and create a new site on redirected site without remove redirection of that site. So is it possible?
You can create another website on a redirected site by using subdirectories or subdomains.
Like, if the redirected site is abc.com, you can create a new website at abc.com/new-website. The redirection will still be in place for the main domain, but the new website in the subdirectory will have its own separate theme, content, and functions.
Or you can use subdomains. So, if the redirected site is def.com, you can create a new website at new-website.def.com. Even here, similar to the previous scenario the subdomain will have its own separate theme, content and functions.
Do you want to use the same Wordpress cms or custom? First, create a sub-folder in your file manager using addon domains. Then, you can work and test the website. Let me know if you have a question.
I am coding the website linked below. I want to set it up so that my client can update basic areas of the site (using Wordpress) without going into the code. I installed Wordpress in the Kualo hosting service, but I can't find any tutorials that show me how to enable my client to make updates to this page. If, for example, my client wants to change the menu item at he top of the page to say "DOCUMENTS" instead of "RESOURCES", how would they do that? I want to keep my custom-made html but allow the basic text components of the site to be modifiable by my client via the wordpress interface. Any guidance would be appreciated!
http://layouthuprising.org/LAYU.html
We have a website - let's call it mywebsite.com - and we are adding a subdomain website - let's call it au.mywebsite.com.
The 2 websites will be identical in terms of design (HTML, CSS, JS etc.).
If I make changes to the design of the main website - mywebsite.com - is there a way to automatically push the changes to the subdomain website?
The website in question is a Shopify eCommerce website.
Sadly, there is no such way you can update 2 websites simultaneously. I hope Shopify develops a webhook to inform file changes in the future. You can do the following to achieve your requirement:
Make your changes to your main website.
Write a script to pull all the assets from your main website
Update all the assets in your subdomain website
Assets API Documentation - Link
Alternatively, there is also a solution present for your problem at Shopify University. The solution tells you how to compare files and push data to another website. You can check it out here.
Recently I've been tasked with redesigning a website for the current company I'm working at. I've been using weebly to make the site, and then exporting the HTML to be re-hosted on the company's servers.
However, I've noticed that some functionality in weebly's code has stopped working. I imagine this might be due to weebly hosting some elements on their own servers, but this is merely a beginners best guess.
1. The picture for the logo on the banner does not appear once the HTML is rehosted
For comparison, here's the site while hosted on weebly:
http://mjmacoustique.weebly.com/
and the site on the company's servers:
http://www.mjm.qc.ca/redesign2015/
When weebly hosts, the ''MJM'' image should be on the top left and function as a return to home page button when clicked. However, when it's hosted on the company's server, the image is not found.
2. On Firefox, the background image of the home page is replaced with an all black background
When opened in firefox, it fails to load the background image of the main page.
Any help or solutions to these problems would be greatly appreciated.
Thanks.
I can help with question #1: the logo is hosted on weebly's servers, but in the html it's written in a shortcut method like this example: /uploads/2/6/8/5/26851316/1434298489.png"
the easy workaround would be to keep the weebly version of the site working, in in the html change the src value of the missing images to something like this http://mjmacoustique.weebly.com/uploads/2/6/8/5/26851316/1434298489.png
So you haveto add the http://YOURSITE.weebly.com before all the src values of your images.
otherwise, just load all the images you need on a blank page of the site on your servers, copy image urls of those and replace the urls in the html with that.
Hope that helps?
The firefox issue might also be solved if all your src values are linked correctly but I cannot be sure about that.
When I tried exporting a site from weebly, some assets were missing from the zip it produced. This resulted in some images failing to appear because they simply weren't there. I don't know how often this happens (or if it happens only for some sites), but weebly's export feature definitely seems to have bugs.
I worked around this by using wget to recursively fetch the content that weebly was hosting. Then I hand-copied the missing assets (and only the missing assets) from the directory structure saved by wget and merged them into the directory structure from weebly's export zip. This is time-consuming, but necessary since the directory structure fetched by wget includes dynamically-generated content (meta data for weebly's editor, assets with decorated names, etc) that you probably don't want in the content you host elsewhere.
I'm trying to make a simple login form.
The wordpress function
is_user_logged_in() always returns false.
I don't want to use any pre-existing themes for wordpress, and I want to simply add wordpress functionality to an existing page.
I checked the cookies on my page with the form, and none are being set.
The wordpress install is located at:
http://localhost/newgameplus/wordpress/
The testings script is located at:
http://localhost/newgameplus/TEST/scripts/php/testWP.php
EDIT:
Solved this issue by going to wp admin panel, and changing the options.
Settings>General Settings
Adjusted site Address to reflect the actual website location.
Your script is running in a different web space to the WordPress install. To access the Wordpress functionality you'll need to be working on the site within the wordpress web space - ie the
http://localhost/newgameplus/wordpress/
directory