Questions tagged [home-url]

The tag has no usage guidance.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
198 views

query_vars in home, not loading the "home" page

My wp home is: domainname.com/ But if I enable a query_var, like so, in functions.php: function add_query_vars_filter( $vars ){ $vars[] = "section"; return $vars; } Then: domainname.com/?...
Toni Michel Caubet's user avatar
2 votes
0 answers
204 views

Multilanguage URLs

I am trying to achieve multilanguage behaviour for my website. I'm very close but not quite there and feel like I'm running in circles. That's why I decide to ask for your help. I'd like to use URLs ...
racanu's user avatar
  • 21
2 votes
1 answer
5k views

Remove site root trailing slash

I am using Wordpress for a "news" section on a e-commerce site. So the root of the wordpress install is in a sub-folder. www.mysite.com/news I have setup the home & site URL to reflect this in ...
Nathan's user avatar
  • 149
1 vote
0 answers
35 views

Add a prefix to all url's of the WordPress website except the homepage

I have a website at the moment, f.e. website.com. The last weeks we also created 2 translation websites: website.de and website.nl. In 2020 a lot of other domains will follow. That's why we would ...
TonyHibbo's user avatar
1 vote
1 answer
1k views

What is the difference between `Home page / Archieves` and the page set as homepage?

In the image below, I set the page Welcome! as my homepage. There is no link to that page, and there is only one way to go to the homepage: click on the banner. However, there is two different items ...
Ooker's user avatar
  • 332
1 vote
1 answer
85 views

WordPress site isn’t reachable after site & home URL modification

First of all the technical details: OrangePi Zero (512Mb) Debian for Orange Pi Apache2 PHP5 MYSQL Wordpress I have at home an OrangePi and I installed a WordPress on it. I registered a DNS name (...
user avatar
1 vote
0 answers
842 views

wp_options siteurl and home hardcoded?

We received a WordPress site from the marketing team of our company and we successfully managed to get it up and running on a staging server but, we have now moved it to production and realized that ...
gvasquez's user avatar
  • 111
1 vote
0 answers
151 views

get_template_directory_uri not dependent on WP_HOME in wp-config.php?

For testing on mobile devices in my local network, I've set up xip.io according to this blogpost I can access the site, but even though I added the following to my wp-config.php define('WP_HOME', '...
Raphael Jeger's user avatar
0 votes
0 answers
30 views

How to access the website at root dir instead of the WordPress install dir?

I've installed Wordpress via cPanel into https://mywww.com/wp. The same https://mywww.com/wp is used as my Site Address (URL). I'd like to access my site at https://mywww.com, however, when I change ...
Danijel's user avatar
  • 155
0 votes
0 answers
38 views

Why does using different URLs in WordPress settings cause a "Publishing failed, you are offline" error?

In the WordPress General > Settings, when we update the WordPress address and the Site address to two different URLs We're not able to update/create posts. It is throwing an error saying "...
joshwinny's user avatar
0 votes
0 answers
105 views

Having issue in wordpress website homepage showing invalid page and not showing url header section

Saloni here. My issue is with my WordPress website. Actually, I am working on my website, and in that homepage section, it shows an invalid page in the menu section, but when I open my website's URL ...
SALONI JOSHI's user avatar
0 votes
1 answer
1k views

My Website’s Main URL redirects me to an Archive Page

desperately need your help as I’m completely new to this concept called “WordPress”. When I visit www.mydomainname.com, it automatically pulls a page that shows “Archive” right under my Logo and the ...
DSC's user avatar
  • 1
0 votes
1 answer
37 views

How to Redirect WordPress domain.com/?anyword to 404 Page?

Recently I Found some error on WordPress sites that when someone enter a question mark after the root domain and type any word, url shows the Home Page of instance: For instance, Root Domain is abc....
STEP IADM's user avatar
0 votes
0 answers
32 views

Do I need a DNS on a home network?

Having installed a LEMP stack (nginx) on Ubuntu 20.04 I can run a fresh Wordpress site in Firefox using the IP address 127.0.0.1 with no problems. Using 'localhost' doesn't work. From another Ubuntu ...
Lothar Langer's user avatar
0 votes
0 answers
447 views

"Blog pages show at most" in setting not working

After the update to the new WordPress version, "Blog pages show at most" (Setting >> Reading) is not working. Even if I change the count as 5 there, the homepage shows 10 articles i. ...
Chadsmith's user avatar
0 votes
1 answer
103 views

WP returns to domain root instead of siteurl

On various admin actions (e.g. delete a post), my fresh WP install (dev.mydomain.com/website) returns to the domain root (dev.mydomain.com) instead of dev.mydomain.com/website/wp-admin/edit.php?some-...
Jos's user avatar
  • 426
0 votes
1 answer
134 views

Random home page at each refresh between array of page IDs

I am trying to rotate 3 pages as my home page at refresh. Currently I am using this in my functions.php: <?php function my_homepage_redirect() { if ( is_home() || is_front_page() ){ $...
MultiformeIngegno's user avatar
0 votes
1 answer
619 views

Different front page for logged in and logged out user but the same URL in Wordpress

I have two home pages created in WP. One is set as the front page but for only logged-out users. For logged-in users, they see home page 2 as their home page. However, I want the URL for logged-in ...
Andre Dike's user avatar
0 votes
1 answer
109 views

SSL not working fine, Home url not matching with site url wordpress errors

I deployed WordPress through Bitnami so after adding an SSL certification I started getting warnings from my WordPress dashboard of my site URL not matching with Home URL I was directed to my ...
Francis's user avatar
0 votes
1 answer
47 views

Set a specific page as homepage

I use DIVI and i need to have a custom page (build with theme builder) set as the homepage. there is no shortcode available for this page, so i use a simple redirection ex www.myste.com/ ---> www....
Augustin Aubert's user avatar
0 votes
0 answers
22 views

one url for all pages

Recently I just stocked over something which I can not fix or solve! I like to use a single url like www.mywebsite.com or www.mywebsite.com/something for all my pages. the reason is that I have a ...
Alireza Honarfar's user avatar
0 votes
1 answer
269 views

I changed the site address and wordpress address from localhost to my ip and it doesn't work anymore

The problem: I'm running wordpress locally on a mac using mamp. I used to access my wordpress site with localhost:8888/mysite. I wanted to let other people see it using my IP address so I went under ...
Masiar's user avatar
  • 113
0 votes
0 answers
31 views

Got 404 error when changed siteurl via DB in Wordpress

The problem is that I have changed the wp_options table with site URL and home fields from http://localhost/WordPress to http://localhost/test I get 404 errors or Object not found error. What I ...
Antony Lapitskiy's user avatar
0 votes
0 answers
255 views

Remove Home page slug in translated pages

I'm building a website in wordpress, and i've decided to use a custom page "home" for my website's home. I know that i could use the index.php file for the home page , but i needed to use some plugins....
Pedro Ferreira's user avatar
0 votes
1 answer
82 views

Change of "home" results in timeouts (only on index.php)

So this question is probably a result of me not completely understanding the inner workings of Wordpress - especially the home variable. So here is what I did, and after that I will ask my question. ...
Junge's user avatar
  • 103
0 votes
0 answers
288 views

Using Wordpress solely as a Backend - dealing with WP_SITEURL

I've built a website in Angular that leverages Wordpress as a backend, specifically using its REST API. I am replacing an existing website, and my client does not intend to change the original ...
Bryan McGrane's user avatar
0 votes
1 answer
30 views

After deleting /home url from Wordpress general settings I cannot display site's urls

I delete the /home url from setting and I cannot access admin page any more. I change wp-config.php file this define('WP_HOME','http://www.domainname.com/home'); define('WP_SITEURL','http://www....
Çağatay Kaya's user avatar
0 votes
1 answer
400 views

Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)

I have my normal HTML/CSS on my root folder and Wordpress installed in a subfolder (domain.com/subfolder). When I log into my wp-admin subfolder as admin, it directs me to a dashboard page which ...
Sean P's user avatar
  • 1
0 votes
0 answers
466 views

How to echo site url if not on index.php while using anchor based nav

I've been attempting to hack together a single page Wordpress theme. So far I've had success in displaying the page loop for content and nav, and I've used JQuery page-scroll to animate the navigation ...
Liam Day's user avatar
0 votes
1 answer
2k views

change home_url and site_url but don't redirect to home_url and site_url on load

I have two domains uat1.example.com and uat2.example.com pointing to the same wordpress installation. I want to change the home_url and site_url for all links on the website to uat2.example.com, but ...
Maulik Vora's user avatar
0 votes
1 answer
21 views

My question:When I started my website, the "page not found" error always came up

I make sure my .htaccess is set to default and I try to install a freshly new WordPress but nothing changed.
jolly chen's user avatar
0 votes
1 answer
66 views

Get value from URL with different types of parameters

I'm kind of new to wordpress. what I want to do is; For my home page I want to build URL like, www.example.com/email/[email protected] and fetch value with email like $wp_query->query['email'] but ...
Onkar's user avatar
  • 1
0 votes
0 answers
354 views

Redirect to Page after Login (with variable)

I want to redirect subscribers to a special page after login to my WordPress Site ("http://www.my-cool-page.com/coolpeople") where "coolpeople" is a regular WordPress page. This is my code to redirect ...
herrfischer's user avatar
0 votes
1 answer
167 views

Blog broken after changing Site/Home URL

I have two blogs installed in the domain foo.com: foo.com foo.com/marketing They different WP installations which share the same domain. Database tables from the /marketing installation use a proper ...
deprecated's user avatar
0 votes
0 answers
51 views

Moving Site: Is Re-downloading Files After Changing URLs necessary?

On the Wordpress Codex: Moving Site page under Changing Your Domain Name and URLs, it states that you should re-download your site files (Step 5) after changing your site URLs (Step 4). Is Step 5 ...
Mark Rummel's user avatar
  • 2,127
0 votes
1 answer
35 views

How to retrive previous Domain URL in Wp

One of my firend accidently! Changed the WorsPress domain address to his expired domin address now we can't even connect to WP Login Page and WP is redirecting us to a domain address which does not ...
Suffii's user avatar
  • 201
0 votes
1 answer
66 views

Redirect when the site's home is set to a page

Is it possible to have Wordpress display the full URL string when a specific page listed more than one level deep is set up as the home page under Reading settings? If I have example.com/parent/child ...
user2175705's user avatar
0 votes
0 answers
112 views

Function get_home_url appends dot

Does anyone have this problem? When I call this function on my mobile theme, it appends a dot at the end of my home url, so it looks like www.example.com. which makes some other functions work ...
Banana's user avatar
  • 101
0 votes
2 answers
141 views

Set a different home link in nav menu

I've my website with homepage link set to http://www.mysite.com. I've also many pages with subpages, and in that subpages i've already a link in the content that returns to the top level parent page. ...
Pepozzo's user avatar
  • 367
0 votes
1 answer
56 views

Home in page/post not refer to homepage

I really need help. I'm using Private Lawyer theme, and I'm having this problem, Eg: Home >> Photo Gallery the "home" not refer to my homepage. when I click it, it refer back to photo gallery page....
hauralina's user avatar
0 votes
1 answer
201 views

Accidentally Changed Wordpress Url

So I have two different wordpress applications located at test/wordpress1 test/wordpress2 I wanted to switch between them under the same domain (localhost) so while on the wordpress1 application, I ...
blee908's user avatar
  • 197
-1 votes
1 answer
3k views

How to make custom page link to root automatically?

I've put / in my Home custom page link, and locally my server is localhost:3000 and it works fine, but on my server the url is www.mysite.com/theproject, but / there does not lead to www.mysite.com/...
dzimi's user avatar
  • 101