I've got a live Wordpress site that is working fine. Time for a few updates, so the guy hosting this site for us has created a new subdirectory, 'newdev', and copied the live site into it.
He said he's updated the database, and in my Dashboard-->Settings-->General, the WordPress Address (URL) has been updated to http://newdev.thecyclery.net.au (while the live site URL is http://thecyclery.net.au.
I find that I can open the homepage of the dev site OK, but if I click any links, it takes me to that page on the live site. E.g, I'm on http://newdev.thecyclery.net.au, then click 'Ride' and it takes me to http://thecyclery.net.au/ride
If I manually enter the URL for sub-pages (e.g. http://newdev.thecyclery.net.au/ride) it directs back to the DEV homepage.
I really need to be able to see my dev pages so I know that the work I'm doing is working and displaying correctly... Any suggestions?
Thanks, I hope I've provided enough info!!
Jon
Related
So I have a weird problem here, I have created a website with HTML, CSS, and JavaScript but I have it as a PHP file so I can interact with a Wordpress blog I have also created. I have the WordPress blog in a folder inside my website eg. mywebsite/blog. Now while developing on localhost, everything works pretty fine but when I finally hosted it on a live server, the blog seems to load without the CSS; here's a link to the blog https://www.dexafxacademy.com/blog. At this point, I am lost as this is my first time, including Wordpress as a subfolder, so I don't have an idea of what the problem could be. Note that this works well in my localhost.
Thanks for providing a link to your site!
Using the Web Inspector in Chrome, I see that the problem is likely in your WordPress settings.
WP is attempting to load all your assets from https://dexafxacademy/blog
The correct URL would be https://dexafxacademy.com/blog
In the WordPress admin of your production site (not local), head to Settings > General and make sure your WordPress Address and Site Address fields have the correct URL containing .com.
I built a website for our company using a wordpress install. This is installed in it's own directory on our hosting account on GoDaddy. We have a domain purchased through GoDaddy added as an addon domain. When you go to OurNewSite.com you see the homepage located at OurOldSite.com/wordpress, and OurNewSite.com in the address bar. However, when you navigate to the About Us page on the site, the address bar changes back to OurOldSite.com/wordpress/about.
I've tried the answer from THIS POST here, with OurNewSite.com in the fields, but this doesn't seem to be working. Any help would be greatly appreciated!
So, this is actually what worked for me. After waiting, the link eventually updated after a few hours, but it produced an Internal Server Error. THIS ARTICLE has a list of common causes for the error I was getting on the link pages. The directions for "checking for a corrupt .htaccess file worked like a charm.
Really a newbie question here, since I just started working with Wordpress.
How do I get to the home page of my Wordpress website!? I am hosting a Wordpress website on my personal shared server, and when I go to www.nishantkelkar.org/wp-admin/about.php, it shows the typical admin panel that I'm used to seeing on Wordpress. Then I went about and created some test content (a Hello world post), and said "Publish". It says "Your post has been published" and gives me a link. When I click that link, I get redirected to the index page with an index of all my files in that folder! - http://www.nishantkelkar.org/?p=10&preview=true.
Am I doing something wrong? I just want to be able to see my freshly created content!
It appears as though you need to set your DirectoryIndex to index.php but it is difficult to say from just the information you provided.
I have a main portfolio site hosted through MacHighway. My hosting package allows me to have two domains. I thought I'd register a new domain to experiment with some new things. So I bought a new domain, went into my main site's cPanel, registered it as an Addon Domain, and tried to install Wordpress on it. I got Wordpress working on it just fine, but then all of the links on my main site broke. So I deleted the files for the new site to see if that would help, but all of the links on my main site are still broken. The pages all say 'file not found.' Where did I go wrong? How can I fix this? I don't care about the new site at the moment. I just need to get my main site back the way it was. Help?
This is my site.
Nevermind. I visited Settings > Permalinks and everything works again.
When I install a backup of my Wordpress site on my local MAMP server, so i can work on it and test new features etc, and I visit ANY link or do anything (including logging in) it always throws me to the actual live website.
For example, if the local address for the site is "localhost/xyz" and I type that in, it takes me to it but anything after that throws me to the actual live site.
So on "localhost/xyz", if I click on log-in or any page etc, I end up at http://www.xyz.com
This is being VERY problematic because I can't test any page or work on any page locally.
How can i go about fixing this?
If you go into your database (on MAMP) via phpmyadmin, and check the options table, make sure that the lines for siteurl and home are set to http://localhost/ and not the live site url.
My problem was solution with this http://codex.wordpress.org/Changing_The_Site_URL.
Check out these two videos that I made on transferring a WordPress site to MAMP. I think they will help you.
Part 1:
https://www.youtube.com/watch?v=xn-8OvwFdBY
Part 2:
https://www.youtube.com/watch?v=fIIJBdpRzjM
Hopefully they help. :)