Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [urls]

A uniform resource locator, abbreviated URL, also known as web address, is a specific character string that constitutes a reference to a resource.

0
votes
0answers
2 views

Add custom taxonomy slug to URL of Custom Post Type

I have a Custom Post Type named "blog", and a Custom Taxonomy named "area" (both setup using the CPT UI plugin). I have also used below code to add the taxonomy slug in the url, so that standard WP ...
0
votes
0answers
3 views

URL issue after setting up Custom Structure in Settings >> Permalinks

I've tried to Google this but to no avail. I'm a newbie at programming but I can say I'm adept at configuring WP - pretty please, please bear with me. :) I have a CUSTOM_TAXONOMY that when viewed, ...
0
votes
1answer
21 views

How to assign a default/priority taxonomy to be shown in url in case two taxonomy items are selected

I have a custom taxonomy (ex. taxonomyfoo) created with CPT UI plugin and assigned this taxonomy to the standard wp post. I have also used below code to add the taxonomy slug in the url (%taxonomyfoo%...
0
votes
0answers
24 views

Problem building an url with argument

I have tried to build an url using a parameter, and it depends on the element the user clicks. I have used the method add_query_arg( 'id', $id, 'http://example.com' ), and the href value of the ...
0
votes
0answers
11 views

How to store value in some variable in wordpress?

please help me I am new in WordPress the task is I have a URL like this http://localhost/talha/?aid=1 I want to store that URL value in a variable and use it through all my website. I read many ...
0
votes
0answers
15 views

Rewrite tag and url with 1 variable in array

i explain what i try to do. First i have WP 5.2 and Php 7.2. i have a form which send a variable array like myVar[] to another page template. the url is http://mysite/mypage.html?myVar[]=item1&...
0
votes
1answer
18 views

Get page by path - honoring permalink settings (urls w/slashes)

Let's say I have a page with the name sample-page. I can do this: get_page_by_path('sample-page') To get that page. Now, let's say I want to get a post where the URL to that post is /post/8. If I ...
0
votes
2answers
34 views

Unique one time use URL

I’ve been searching for solution to my problem but posts already made are not fulfilling the answer to me, or I'm just not qualified enough to work this out. Here is what I need: I’ve got a simple ...
0
votes
3answers
31 views

Why is WordPress rewriting absolute URLs on staging site to include staging prefix when we manually point them at the live site?

Edited for clarity and to display steps we take to reproduce the issue. Question What would cause absolute URLs on our staging site to prepend the staging site's subdomain to them when saved in the ...
0
votes
0answers
8 views

How Can Wordpress Posts and Pages be Organized in Directories That Display in the URL?

We have a WP Multisite network (subdomains) and one of the subsites contains information for multiple states and we would like to organize the content so that the urls display as follows: https://...
0
votes
1answer
14 views

How to Update / Change URL when Popup Modal Loads?

I'm looking for a way to have a popup modal with a form, and whent he popup loads, the URL changes. For example, if a person is viewing web.com/about and the popup loads, then it will change the URL ...
0
votes
0answers
25 views

Locked myself out of WordPress because I changed my URL and computer shut down

I have word press deployed on Google Cloud Platform. I have a domain too from Google. My IP Address for domain is is 35.243.142.95 and this is how I have it setup in WordPress. I don't know why it’s ...
0
votes
1answer
16 views

Adding query string to multiple page urls in a Wordpress function

I have a wordpress function that adds a query string 'nocfcache=1' to a single page url. function nocfcache_query_string( $url, $id ) { if( 42 == $id ) { $url = add_query_arg( 'nocfcache',...
0
votes
0answers
26 views

How to change site-title-url for specific category or page in php?

In wordpress website, we have different categories like Collaboration, Healthcare, Economy etc. I have made separate blogs pages for each category. Required change is if user is on Healthcare blogs ...
0
votes
1answer
20 views

Disable Wordpress URL auto Redirect

Wordpress auto redirect http://example.com?lang=fa to http://example.com/?lang=fa how to stop that?
1
vote
2answers
44 views

How to change redirection route to a php page for making it only accessible by logged-in members?

Background of my problem: I'd like to mask external download links as internal links and to be only accessible by logged-in wp users at htaccess level or with PHP script but when redirection happens ...
0
votes
1answer
15 views

Remove “Page” from Category archive

For the moment my site category archive URL show as example.com/blog/category/all/page/2/ I want to remove "page" from slug so it should display as: example.com/blog/category/all/2/ Any tips how I ...
0
votes
0answers
20 views

Allow commas in permalinks

I need to make some URL with a few commas in it. But when I change the URL field in the admin page it removes it automatically, when I save the changes. How can I make it stay and not removed?
0
votes
1answer
25 views

Getting Turkish alphabet characters in the URL field in webbrowser

I want to make a WP website in Turkish that shows the proper Turkish alphabet characters in the URL fields in the webbrowser and in WP instead of the English alphabet ones. I tried it already but I ...
0
votes
0answers
16 views

How to manually archives and display posts of categories?

I'm trying to do the following steps, it will be a process of end of the year : The category "This year" has to be in the "Archives", the oldest archives has to be delete, and i had to re-create a ...
2
votes
1answer
33 views

How to get “extended” path info from URL in a plugin

Working on a plugin that creates short codes to embed into a page. I have permalinks set to "Post name", so http://example.com/post-name/ I want to be able to pass additional information in the URL ...
0
votes
0answers
46 views

How can I programmatically add WooCommerce product photo from external URL

I searched for this but couldn't find anything I already saw this post Programmatically adding images to media library the problem is you cant get the new media url right away and put it as meta data ...
1
vote
2answers
89 views

wp search-replace (not executing)

I'm running multisite. Looking to replace old URLs with new URLs for pulling a copy of the site form one environment to another environment. Here is my command: wp search-replace --url=domain.com ...
0
votes
2answers
28 views

CPT category hierarchy

I'm working on a _products catalog` WP theme. I have a issue where my CTP has multiple subcategories, like for example: Vehicle -> Vehicle type -> Vehicle type -> Vehicle year -> Vehicle ...
0
votes
1answer
19 views

Two URLs of one post is available

I have WordPress blog with permalink /%category%/%postname% it is OK when i have one category. but when I add another, the post is available with two URL and i think its bad for seo for Example: ...
0
votes
0answers
23 views

How do you remove question mark in URL in get method?

I'm trying to create a plugin for Wordpress and in the plugin, I am using the Get method to store a string which I will use to call an API. I created a custom page and the url is: http://localhost/...
0
votes
1answer
64 views

Block a specific url request

I probably have a plugin that makes a request to an URL slowly down my website. At the moment I'm still debugging the issue but, in the meantime, is there a way to prevent Wordpress to request this ...
0
votes
0answers
10 views

Wordpress Media URL is showing // in URL

I am facing a problem my website media URL are showing like domain.com//media due to this my website is working fine without SSL but when i open it with https:// all my media images disappear. I want ...
0
votes
2answers
12 views

Add addtional page parameter before loading the page

the problem I got: I need to force a list view for products which are shown on a specific page only for mobile devices, for me the perfect solution would be an additional url parameter -> '&...
0
votes
0answers
36 views

Not able to get my callback URL to work with my wordpress plugins

I have installed a Wordpress Plugin (Revive old Post). This plugins on my wordpress website to send old post to my twitter account.. I have setup my developer account with twitter.. for this plugin ...
0
votes
1answer
19 views

Cant access my wordpress.org locally

Hi I have created a wordpress.org website with phpmyadmin where it is located locally on my computer. I went to transfer my domain purchased through namecheap.com and I put my recently purchased ...
0
votes
0answers
50 views

Can I add a rewrite rule in htaccess to remove the multisite subdirectory from the URL?

I am working on a Multisite that was installed and activated on an old version of WordPress. The WP files were placed in a subdirectory named /wp/ and now a request has been made for the subdirectory ...
0
votes
1answer
24 views

Modify Url for Edit Post Screen in Custom Post Type

Ive looked at the questions that may have already answered what im needing and came up short...Im modifying a plugin and the custom post-type name shows in the url when adding a new post. But..when ...
0
votes
0answers
29 views

Post links broken after migration

I just moved my wordpress site from one server to another. Moved all the files, moved the database, reconnected everything and it (almost) works perfectly fine. Except for this: The links to the ...
2
votes
2answers
59 views

How can I rename the WordPress AJAX URL? [duplicate]

I'm currently looking for a way to change / hide the default WordPress admin-ajax.php URL. I want to do this to remove the admin from it to prevent misunderstandings by my customers when I use the ...
1
vote
0answers
21 views

How to show the root webpage on all subpaths

I want to show the same page on all the subpaths on my web site /events/ /events/firstOne /events/secondOne/edit /events/whatever/blahblahbla/helloworld All that urls must load the same root page. ...
0
votes
1answer
25 views

Remove filter parameter from Link URL

I found by scanning my website with tools like ryte.com, that i has over 48k Sites / Links. I only created like maby 25 Websites. After searching for the issue, i found out the the category pages, ...
0
votes
0answers
17 views

I have Akamai pointing to a WordPress installation with a different URL. Is there a way to make WordPress use this for link generation?

I have a WordPress website at, lets say, http://a.domain. For reasons beyond me, I needed http://b to be the URL and the way they found was to put Akamai in front of the website. It works, as I can ...
0
votes
1answer
17 views

Get arguments from URL

I have example link http://mysite/login?user_id=6?reg=true how get user_id and reg values form $_GET? Or how construct link, because this is link from e-mail verification user. if i write: echo ($...
0
votes
0answers
23 views

Change url parameter's name with rewrite

¡Hello! I need some help... I get this URL: https://mysite/entrevista-sesion/?Name=pedro And I need to change the parameter's name to: https://mysite/entrevista-sesion/?n=pedro I'm trying to ...
0
votes
1answer
6 views

Cannot Save Changes After Updating URL Settings

I am trying to include the SSL certificate generated by my host on my Wordpress site. According to the instructions from the web host, all that is left to do, is changing the WordPress Address and ...
0
votes
1answer
14 views

correctness of URL

if I call shortcode in some page, then this address is correct (in the case of paging, filters)? http://mypage.com/recipes_page/?strona=2 Wordpress automatically add "/". As far as I remember, it ...
0
votes
1answer
24 views

How to get user details by name

I am new in WordPress. I want to get user details on frontend without login in WordPress when the user types his name in browser URL (Like example.com/{user-name}) and hit enter, User redirect a new ...
0
votes
1answer
15 views

Template for displaying CPT / Taxonomy URL issues

I would like to create a template to display custom post's terms. First menu level page : (Drink - About / LOGO / Questions - Contact ) Section 1 (Drink Page) : (col-6) -> Image / (col-6) -> Page ...
1
vote
3answers
104 views

How to use $_GET function Wordpress backend

I use Plugin Boilerplate for my project. I searched the internet and read all the questions but I couldn’t find what I need. I also read the WordPress Codex. I think I couldn’t get the idea. I have ...
0
votes
3answers
59 views

Custom HTML title based on URL parameter

Basically, we have alot of traffic coming to our site from different sources looking for slightly different things. But instead of creating new pages for each slight change in heading, we were ...
0
votes
1answer
52 views

Meta inserted through wp_insert_post gets messed up

I'm extending the Woocommerce Product CSV Import functionality to import more data. I'm inserting a CPT with 2 metadata, a string (URL) and a bool, and the post_meta inserted gets messed up. It ...
0
votes
0answers
22 views

How to Change Wordpress Url Link and Pass Data to another page

our main post page of site look like https://webgetintopc.com/windows/anydesk/ i create new page name of download which look like this https://webgetintopc.com/download/ now i want this page like ...
0
votes
0answers
20 views

I can't connect to my wordpress site

in my LAN I have a LAMP server that I can see outside my LAN with the public URL that gave me NOIP. On this server I have loaded WordPress and from the PCs of my LAN I can work well, but if I try to ...
1
vote
1answer
32 views

Changing WP_Query params with url Query Var

:) I've used WP_Query to display there posts (travels) here http://boost19.delavec.si/wordpressP/produkti/ So... I've got this WP_Query that is looping through my custom posts <?php $paged = (...