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.
1,549 questions
0votes
0answers
36views
Permalinks suddenly stopped working on WordPress site, defaulting to /?page_id=XXX slugs. I need help restoring this
All permalinks to different pages on my WordPress site suddenly stopped working. Previously, we had it set up so that different pages used permalinks that described the page, much in the same way that ...
0votes
1answer
35views
Custom plugin with dynamic child pages listing database records
I am a bit new to coding in WP (and php) - more of a C# developer. This question is directly related to this one, since I am implementing an analogous scenario, using the base of the example. My real ...
0votes
0answers
32views
How to get rid of %20 from the URL? Due to this, duplicate pages are being created
Today, I noticed this on each WordPress site. When I enter %20 in the URL of any page before or after except the root domain, a similar page opens, whereas it should show a 404 not found page. Can ...
0votes
0answers
17views
Filtered queries not responeding to page path
I am writing a product filter, and ran into this issue. I have 2 different attributes of my product filter: Tilt -- as a checkbox with "Yes" or "No", and Multibrand Compatible -- ...
0votes
1answer
64views
How to create a dynamic url with post title from one website to another?
Since I am new to PHP, i have a question. I've searched a few days on the internet, but don't really find an answer. I have also tried a few plugin's, but nothing replies to my wish... What I want to ...
0votes
0answers
12views
Trying to change the default page break numbering format
You provided an answer on the below post, I wanted to ask if this should work on Wordpress posts or pages, Im trying to do something similar for posts but I added your code to functions.php and it ...
0votes
1answer
32views
How to Convert Parent Page's URL in Singular Name format when Child page is open
I am trying to Convert the Parent Page URL into Sinular Name format when the child page is open, for instance: Parent Page: abc.com/courses The child Page Should be: abc.com/course/course-name (...
0votes
1answer
47views
How to change the url of the archive page to be inside the custom post type
I made the custom post type named "News" and I have a static page load for url.com/news Currently, the archive page loads with this url: url.com/?post_type=news How do I make it so that the ...
1vote
0answers
10views
How to redirect URL to a subdomain except one folder that needs to go somewhere else
I'm trying to workout how to generate the correct code for my .htaccess I found the following code RewriteEngine On RewriteCond %{HTTP_HOST} !^subdir\.maindomain\.co.uk$ [NC] RewriteRule ^(.*)$ https:/...
0votes
1answer
57views
My Pages Have Been Redirected Automatically in WordPress. How to Stop It?
I have published several pages and I noticed in Search Console that the page has been redirected to another URL. No one worked on it. Is it possible for WordPress to do automatic redirections? If yes, ...
0votes
0answers
19views
Can't Remove Unnecessary Slug
I am using a theme which utilizes different post types such as regular "posts", "videos" and "tv series". I can add a post at "posts" tab, I can add a video(...
0votes
1answer
22views
Link to a specifc category?
As far as I understood I should be able to link to a certain category by url using: mysite.com/category/ But simply said it doesn't work. I have to use link like mysite.com/?cat=1 Meaning needing to ...
0votes
1answer
33views
Get Page URl when changing slug and permalink
Need to get page URL programmatically as client changes the slug and permalink from time to time. I tried below using permalink but this cannot be used because of the above mentioned issue, $baseUrl = ...
0votes
0answers
125views
How to Dynamically Filter Custom Post Types by Taxonomy Based on URL in Elementor Pro and ACF?
I'm building a WordPress site using Elementor Pro and Advanced Custom Fields (ACF). I have two custom post types: Countries (for country pages) and Sights (for different sights/landmarks in each ...
0votes
1answer
33views
How to correctly edit permalink structures for both default and custom posts/taxonomies?
I've renamed the default post type in my site 'Articles' using the following function: // Replace Posts Label with Articles in Admin Panel function change_post_menu_label() { global $menu; ...