I have a problem here. I have built a site with Processwire on localhost and then transferred to my customer's server. a) it's a windows server (unfortunately) and b) there is a domain-mapping for this site, the domain points to a folder of another domain. Sorry, I can't explain it any better, I don't really understand the different types of servers (why do they have to be different anyway...).
My problem is, that I see the main website but not the admin page. Do I have to add anything to my .htaccess file?
I also tried to include web.config file. Not .htaccess nor web.config file have an impact when changing its content. I really have no clue what to do!!
Links: mcconnellacademy.ch, mcconnellacademy.ch/admin
Thanks for any pointing in the right direction!
If you install clean Processwire on your server, can you access admin page?
If yes, its better for compatibility to create site profile from your localhost site, and on remote server install new site with this site profile.
https://modules.processwire.com/modules/process-export-profile/
I am always moving sites from localhost to live server this way.
Is it possibly a RewriteBase issue?
https://processwire.com/docs/tutorials/troubleshooting-guide/page3
Related
I am working on a WordPress project, the job is to deploy everything from the old server to the new server.
So I downloaded everything from the old server.
I deployed a WordPress project to paid hosting, I deployed manually by pushing all the public_html folder to the server.
First, without a database connection, it was showing me a database connection error but after the database connection, it is showing me a hosting page instead of my WordPress project page.
How can I fix it and is there a configuration that needs to be fixed?
Kindly guide me and help me in this matter.
Also is it a domain configuration issue?
The domain is configuration is on the old server and I didn't set it up for the new server yet.
Thanks.
I faced similar issues yesteday when i tried to move my woocommerce exercise from localhost to my domain(live hosting),broken all links,images,routes etc ...There is no way to fix all that whithout paid plugins, maybe someone can go through whole db and change URL-s,i cant,and after that, the question remains whether I have problems elsewhere in the local WP code,who know where in code i also have embed "localhost" URL.
I cant give you solution but i must share my frustration with this tehnology which doesnt allow normall development process like 1)development -> 2)testing -> 3)deployment .
i have a website coded in php running on a domain. I want to install wordpress only on a sub-domain for blogging purpose. Can it be done? if yes, please guide me. I have tried searching for it but found nothing. please help
the general answer is yes. but you must answer this question:
what is your control panel (ex: the DirectAdmin, the CPanel, or etc)?
if you have a control panel so, you must search about this issue on the control panel forum.
if NOT, you must follow these steps (it's a general solution. therefore, for getting a specific answer give me more details. such as, what is your web server? what is your DNS server?)
1- create a directory on the public directory of the server and install Wordpress on it (ex: path-to-the-public-directory/subdomain-directory)
2- create an A record on the DNS server to resolve subdomain.domain.com
3- create an appropriate config for your web server to handle requests of your subdomain
Yes this can be achieved.
Create your sub-domain by logging into your web host account.
Navigate to your sub-domain root folder using an FTP client such as Filezilla
Follow the instructions here: https://wordpress.org/support/article/how-to-install-wordpress/#basic-instructions
I am having a really difficult time trying to resolve a very mysterious issue, and I hope somebody can help. I am using Wordpress. I developed my own theme for Wordpress. I have used that theme for several sites in different hosting with no issue. It was working fine on this server I am having the issue with, but for a time now it is getting more common. I am getting a redirect loop error on Chrome ERR_TOO_MANY_REDIRECTS, but it seems to be working fine on Firefox. And sometimes it works fine on Chrome, but not on Firefox. I did the delete cookies and temp files and cache from my browser, and it worked for a moment, after a refresh on Chrome, the issue started again. Right now it is working on Firefox, but not on Chrome. So this is what I have tried:
Check .htaccess file. I deleted it and re-saved Permanent link settings to recreate .htaccess file. Did not work.
Modified the site_url and home values in the database from domain.com to www.domain.com and http://www.domain.com and http://domain.com and did not work.
Disabled all plugins, even moved all them to a different folder. Did not work.
Since I am using my custom theme, I disabled my theme and enabled the Wordpress default theme, and did not work.
Checked permission for a couple of folders. They were all fine.
Checked with the Chrome Inspector, and I see a lot of 302 Moved Temporarily.
Now, I am out of ideas, and I cannot find any scenario that matches mine. I am not sure if it is related to cache or cookies, or permissions on certain folder, or I don't know. I believe it is something related to cookies and permission, but I cannot find any help on how this works on Wordpress and I am not even sure it is the issue.
The other thing, is this is a Linux Server with Apache. So I dont know if it may be a Apache configuration issue or something with the server CPANEL or something. I only have access via FTP to the root folder of my Wordpress installation, access to the database via PHPMYADMIN and access to the Wordpress administrator. I need to make sure there is nothing else that can cause this issue in Wordpress and a way to prove if the issue is related to the Apache configuration or server related. I am very frustrated right now, since I am out of ideas and did my best to fix this. I really do appreciate if someone has an idea of what else can be done.
I have encountered this same problem recently and what was causing it in my case was a new 'feature' in an updated version of Plesk control panel. Plesk now automatically does a 301 redirect to the preferred domain. Now if the preferred domain in Plesk and WordPress are different or you have conflicting redirection set in your .htaccess file this could result in a redirect loop. The solution is to either change the preferred domain in Plesk or disable the redirect altogether. You mentioned that you are using Cpanel - I'm not sure if Cpanel has this wonderful 'feature' but it's another possible cause to eliminate.
I've installed php support on my IIS7 via FastCGI. Under IIS I've created a new website that host Joomla. Uploaded my site and it works fine.
Now I wanted to add another application under that website so that when someone goes to my url http://www.mysite.com/application_name he will get to the site hosted under that url.
What ends up happening is that on Chrome and Firefox I see the Application site, but on IE it points me to the root of the site (http://www.mysite.com/application_name points me to http://www.mysite.com/).
I've played around with .htaaccess file but had no luck. I even removed it entirely but it still does that and even when removed the entire joomla site keeps on working.
What configuration am I missing?
Thanks
.htaccess works only under Apache servers, it doesn't work on IIS. You should work on the web.config file.
I planned to move my Wordpress site from my Xampp server to my production server. I changed the address under the 'Administration - Settings - General' panel. However, unfortunately I was not able to move the actual files to the new location via ftp, as my hosting network appears to be down.
I want to continue working on the project in my local server, however, when I tried to access the WP-admin login screen to login to my site, it automatically redirected me to the newly specified address of the site (which is currently empty).
I am now stuck outside, unable to log into my site. Has a constant been changed somewhere, or does anyone have a fix where I could somehow undo the changes that I have made?
Thanks!
Best Regards,
Robert Young
London, UK.
You can re-set the correct URL working on the MySql DB. In the table "wp_options" you can find "option_name = 'www.example.com';".
Here is a nice free plugin which handles moving Wordpress sites from one host to another:
https://wordpress.org/plugins/duplicator/
It is an easy way to complete the job, without having to get your hands "dirty" with database and configuration files modifications. Hope this helps!