I've uploaded the WordPress website on a server. and if try to access the site using the main domain it shows the screen shown below. and if I update the site URL in the database with a subdomain and use subdomain then the site's homepage opens but cant switch to any other page.
First make sure that the dns are correctly propagated, especially the nameservers.
Try to change permalink settings and flush cache on your browser.
Related
i recently started developing a site for my local business and it doesnt have to have a hosting and a domain. I will use this site to show my clients what they're getting and giving them choices.
Fast forward yesterday, i changed the siteurl and homepage url in phpmyadmin to make the site locally accessible, and i was accessing it though. Today my ip was changed and i changed the ip adress through phpmyadmin. Now i can access all of my pages but homepage. I can access admin panel, access categories page and all other things. But when i try to open homepage it redirects me to the old URL, what should i do?
I am using Astra theme with Elementor, Woocommercial, Cartflows etc.
you can go to phpmyadmin from your host.
go to "options" table. change the "siteurl" to thing you want.
but if it is true, you can do a test.
creat a new page for your home page and set that for homepage from general-option -> reading .
test that. It should be work.
I recently migrated from Bluehost to Digital Ocean for my hosting. The only problem is I was using the HTTPS while I cloned the site with the duplicator plugin, So after researching for a while, I was able to access my admin panel but all the links on the page seems to be messed up. Let's say mydomain.com is now currently pointing to my website and the dashboard is accessible via mydomain.com/wp-admin. but clicking any of the links on my homepage exposes my IP address and takes me to 139.59.xx.xx/any_internal_link. How can I fix it?
check you wp_option table for siteurl and home value, update it with your new site URL if needed
go to your dashboard, permalink, and hit the save button (without changing anything)
if you configured yourself your apache/nginx vhost, please post your configuration.
I have a domain name from NameCheap, and I am hosting a WP site on Amazon Web Services EC2. I have already changed the A record to so the site pulls up anytime i go to myDomainName.com. Everything works fine until I hit the home bottom on the website. At that point the IP comes up in in the address bar. Any pages i access after that will have the IPaddress/page.
I know I may need to change something in the wp-config.php, but I don't think I have this file on my computer (I used AWS to launch WP, and I don't think I have download anything about WP except some plugins). My website address change option in setting-general on WP is also greyed out so I cannot change it. Anyone has any idea how I could make my domain name display?
Any help is appreciated. Thank you so much!!
have you tried changing your home and site url in wp-admin? If you go to wp-admin/options.php you can change the home and site url fields to your domain name. You can also do it through phpAdmin or editing the DB directly (wp-options table).
I have installed WordPress on an add-on on BlueHost. The addon domain is linked to a sub-folder of the main domain FTP, called addondomain-folder.
When I go to addondomain.com, the WP site displays ok.
The problem is with the wp-admin panel. The panel displays incorrectly, has broken links to all images and stylesheets and I can not access any area as I always get redirected to: addondomain.com/addondomain-folder/wp-admin/... instead of addondomain.com/wp-admin/
I have checked the wp-options table in the database and both siteurl and home are set to addondomain.com
Any solutions to stop wp-admin thinking it is in a subfolder?
Ok, the problem was a hidden .htaccess file which messed everything up.
In wordpress, how can I change where the links are pointing to without changing the server name or adding redirection?
My main site is a rails app at www.example.com.
I have the wordpress blog on a separate server at blog.example.com/blog
I have a reverse proxy on the primary (rails) server that takes any url that ends in /blog/ and then serves up the blog content. (That's all behind the scenes -- the user never sees the blog.example.com domain)
Currently, I can access the blog via the reverse proxy at www.example.com/blog, but the problem is that the urls on the blog point to blog.example.com/blog (wrong) instead of www.example.com/blog (right).
I've tried changing the urls in wp-config.php, but whenever I change those it breaks something.
I eventually figured it out. Here's what I did.
1) Got rid of the Bitnami wordpress image (on Amazon) and reinstalled wordpress fresh, from scratch, on EC2. Bitnami had a bunch of magic behind the scenes that was making it hard for me to figure out what was going on.
2) Via wordpress admin changed Site Address (URL) from http://blog.example.com/blog to http://www.example.com/blog Previously, I had been changing this in the wp-config.php file, but I am pretty sure that doesn't do the same thing. So I needed to change it in wordpress admin. However I needed to keep the Wordpress Address the same. Found out that the Site Address governs the urls displayed in the theme, whereas the Wordpress Address is the server hostname. I'm using a reverse proxy which is why this was confusing.
3) To enable pretty permalinks behind the reverse proxy I changed the permalink settings in wordpress admin, then I updated .htaccess according to its instructions, then I modified /etc/apache2/sites-enabled/000-default changing AllowOverride None to AllowOverride All. Need to do this to enable mod_rewrite to work on virtual hosts.
Go to wp-admin - settings, and change site url. Than flush permalinks by resaving settings.
You don't really provide a mountain of information. But you will need to check this area of your dashboard
http://www.steveovens.com/wp-content/uploads/2011/09/wpid209-Check__Force_HTTPS_in_site_address__Wordpress_address.png
to make sure the information is
http://54.235.249.193/blog/
In both fields.
If you still have issues try changing your permalink setting to a new setting save it and then change it back again and save.
http://www.webmikesites.com/wp-content/uploads/2013/09/permalink-settings.png
If you are unable to access the dashboard of the site on the address
http://54.235.249.193/blog/wp-login.php
As it redirects you to the other domain.
Then you need to likely change the two fields mentioned earlier siteaddress and wordpressaddress via the database. Find the table in your database wp_options or yourtableprefix_options and edit the fields option_value where the option_name is siteurl and home to have the address
http://54.235.249.193/blog/
Also if you are just starting using a webserver. You may need to make sure your files are writable by the webserver.