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

learn more… | top users | synonyms (1)

0
votes
1answer
35 views

How to add custom variable in url without redirect?

I'm trying to add a local variable to my URL. As an example I have this URL: mysite.com/my-page-name/ And I want to add 'en' variable into it and leave the page working properly: mysite.com/en/...
1
vote
1answer
19 views

How do I override the emoji url?

When you enable emojis, Wordpress includes code which converts the chars to the PNGs which it pulls from a CDN. We would like to replace those with our own images. According to formatting.php the ...
0
votes
1answer
24 views

Page Permalinks: Custom URLs

I'm trying to make URLs that have different "routes", per say. I don't know how to explain it, but on the site I had to move, the owners want it to have different suburl URL directories. Problem is, I ...
0
votes
1answer
13 views

Change url to posts if they have custom tax only

I have custom taxonomy "category_slider". function taxonomy_slider() { $labels = array( 'name' => 'Категории проекта', 'singular_name' => 'Категории', 'search_items'...
0
votes
0answers
21 views

Does a better solution exist for turning spaces to entities besides using encode?

For custom designed social media buttons I've been doing some research to see if there is anything new WordPress has added to be able to take a title and turn the spaces into the entity %20. I have ...
1
vote
0answers
13 views

stop pretty pagination rewrite site.com/cat/2 => site.com/cat?page=2

I need to be able to keep pretty urls, but I need to be able to send page as a URL arg. WordPress likes to do site.com/cat/2/ for page two, but I need site.com/cat?page=2 because we are moving some ...
0
votes
0answers
9 views

Custom Post Type (CPT) not honoring custom permalink structure

I've got a custom permalink structure of: /post/%post_id%/%postname%/ When I create a custom post type I'd expect the permalink to be: /post/cpt/%post_id%/$post_name%/ But instead it's: /post/cpt/...
0
votes
0answers
19 views

Change URL for logged in users

I'm wondering if there is any way to give logged in users a custom URL of sorts. So say when you're not logged in, you get xyz.abc/home, but when you are logged in you get xyz.abc/home?l or xyz.abc/...
0
votes
0answers
27 views

custom post type URL change

At the moment, the urls for my movies post type look like .com/movies/ryi2NKR5ZY4DCNWG0XPj/ I got the 20 character hash in there by making the post name the hash like this: function ...
0
votes
1answer
16 views

“-2” Being added to end of URL (no duplicate pages, no pages in trash)

I have a page called "Orlando" and for some reason the page url is /orlando-2/. I have never made another "Orlando" page on this site and there are no pages living in the trash. There is also no other ...
0
votes
1answer
14 views

mysterious issue with stop words in urls not working - how can I restore multiple url access?

I have a site that until recently, you could access a url of a post on the site with or without certain "stop words". Now though for some mysterious reason that doesn't work. So to clarify, the ...
0
votes
1answer
47 views

How to display wp_post by custom field value?

I am using wooCommerce. How to display posts, when seaching by custom field value. The goal is when ?s={custom_field_value} URL is set, to get a result : ?custom_field*={custom_field_value} And get a ...
1
vote
2answers
44 views

How do I get the permalink structure to work like this?

domain.com/rents/miami-dade/ domain.com/companies/miami-dade/ Then for, say rents/miami-dade/ I would loop through some different areas within miami, showing a list of rents for each area. For ...
-4
votes
2answers
25 views

How can I implement an Article Wizard for non-existing URLs? [closed]

I very much like Wikipedia's feature to create an article from a yet non-existing URL as shown below: I imagine the workflow to be like this: Open URL of the site you wish to create If logged in, ...
0
votes
0answers
25 views

URL with Chinese, Russian, Brazil characters fail to load page

I am administering a multisite and we provide content to different countries, for non english pages, i have to make them load fine if non-english characters (China, Russian, Brazilian) characters are ...
0
votes
0answers
30 views

My site won't recognize a null string in a url

I've just re-built a wp site. The client's prior site included the following tracking script, which I brought over: <script type="text/javascript"> var vv_account_id = 'xxxxxx'; var ...
0
votes
0answers
12 views

Facebook-like user profile urls

I have already implemented custom user profile pages accessible by http://example.com/profile/user-defined-slug This is relatively simple by wp url rewritting filters. Now I need to implement the ...
0
votes
1answer
22 views

Post & Category Archives URL structure

I've looked through many similar questions, but haven't yet been able to find a solution to my particular problem. It seems fairly straight-forward, but I can't seem to find the correct combination of ...
3
votes
1answer
62 views

How to change URL Custom Page?

My Page Custom URL: http://abcd.com/watch?name=video-title How can I change this url to http://abcd.com/watch/video-title where watch is a custom page? My functions.php code: function ...
0
votes
1answer
25 views

Creating another wordpress site as sub-domain of a wordpress site

Main domain: www.abc.com new wordpress: xyz.abc.com I have manage to work everything on the front-end part. both use the same database but different tables classified with their own prefixes. ...
1
vote
1answer
27 views

How to rewrite url wordpress?

i am doing WordPress posts filter. As a result of the application forms obtained this url: http://local/rieltplus/category/catalog/?type=flat&price_min=1000&price_max=2000&area_min=5&...
0
votes
1answer
32 views

how to replace hostnames on certain external links?

I have a need to replace hostnames on certain external links. For example, I'd like to replace outbound links to http://www.example.com/whatever with http://staging.example.com/whatever throughout my ...
0
votes
1answer
16 views

List sub pages with custom field content converting image ID to URL

I am using the ACF plugin to create static (non-ecommerce) product pages. I am now making a page that lists all the sub pages with product name and the image added to the product_logo custom field. I ...
4
votes
1answer
60 views

How to prevent redirection to max 2147483647 for larger values of the page query variable?

I've got an id which is 10101000003163 I set it to my href as "technical/10101000003163/" but WordPress redirects me to "technical/2147483647/" How can I stop WordPress from doing that? My rewrite ...
0
votes
1answer
31 views

How to remove Base URL Duplication?

I have an issue in the download link, the URL getting duplicate. Like this http://localhost/test/files/http://localhost/test/files/2016/05/testonly.docx same as the live website: http://www....
0
votes
0answers
21 views

get_query_var(“page”) empty if page is 1

I have a paginated search that is set to clear its search parameters if get_query_var("page") is empty. This works fine for every page except 1. I have set my page links as http://www.domain.tld/page-...
2
votes
0answers
35 views

How to create a custom page base on URL for Wordpress?

How can I achieve the following: example.com/mycategory/my-first-page example.com/mycategory/a-random-file-name-page If the user enters http://example.com/mycategory/*, it will load a standard ...
-1
votes
1answer
21 views

map urls to plugins

I'm just getting started in plugin development and written some admin functionality by referring to the codex. However, I now want to add some functionality to the front end, but using some URLS such ...
0
votes
3answers
17 views

Create Custom Post Type as page

I need to save URL's from old site, in options-permalink in admin wordpress i use /blog/%category%/%postname%.html I do it for blog posts. But i don't need to get it for CPT I have created CPT ...
0
votes
3answers
51 views

What does this structure of the URL mean? http://www.example.com/?i=0

I have been asked to switch between the existing front/home page of a website which has the URL http://www.example.com to a differnt page with the URL http://www.example.com/?i=0 It's a very old ...
0
votes
1answer
47 views

Change permalinks for specific pages

How can I change permalinks for selected pages? For example, static page will be like this example.com other sub pages will be example.com/postname/ Right now I can't achieve what I want with ...
0
votes
0answers
29 views

Custom Post Type Re Write not working

I am trying to get my custom post type single.php URL to have the category in it. I am using the default wordpress categories (I didn't register a custom tax.). My current URL (from the base) looks ...
0
votes
1answer
30 views

Get custom posts by segment of the URL

Please give me a suggestion this situation of mine. I have a custom post type "house". It comes with 2 custom taxonomies: "region" and "status". I would like to get out all the "house" which are "for ...
0
votes
0answers
33 views

Accessible Subcategory URL's pages without using .php hack

I'm attempting to setup a custom URL structure within posts that makes all parents and sub child's accessible, but all attempts have failed with various errors. My category structure looks something ...
2
votes
1answer
31 views

Check what is at URI (post, archive, etc…)

Is there a way or function where you can pass in a custom uri like uri-part/uri-part2 and we can check what is under this address? I want to check if a uri hosts a post, page, archive, category, ...
0
votes
2answers
36 views

Problem with images URL after filter applying

I have this code in my functions.php file: function user_content_replace($content) { // it's not a URL, let's apply the replacement if (!filter_var($string, FILTER_VALIDATE_URL)) { $...
0
votes
0answers
26 views

Passing variables through links?

On my website, www.tremarctos.com, I have several photo galleries sorted by category. Clicking on a photo sends one to an individual photo post, and one can navigate between individual photos using ...
0
votes
1answer
18 views

Post URL duplication adds numerical value

I thought that belonging to these different categories url naming posts the same would be treated as distinct. Categories: Home Hotel Posts: street street URL generated: www.my.com.br/...
0
votes
1answer
47 views

Generate one time URL

I need to implement one time URLs in a wordpress website. I found this script on phpclasses website and I integrated it in wordpress and it seems to work. I think this script can also be useful to ...
0
votes
0answers
13 views

Custom rewrite rules on custom posttype

I've got a problem presented to me by a client which I can't seem to fix. They have a Wordpress website with a custom posttype 'projects' This custom posttype has a custom taxonomy 'categories' What ...
0
votes
1answer
64 views

Remove All Query Arg

Is there a way to remove all query arg parameter in the URL added via add_query_arg(); without knowing the query key available for removal? I'm looking for this kind of function remove_query_arg_all()...
0
votes
0answers
47 views

taxonomy child term url change

Currently I have custom taxonomy called "client_categories" under custom post type "press_centre" I want to change url from www.mysite.com/clients/client1/image_library_1/ to www.mysite.com/clients/...
1
vote
1answer
26 views

URI returns a post when it should return a 404

Morning All I have a question and I think I have a solution as well, but I wanted to ask to see if my thinking is correct. I have wp site live at http://www.phmotorcycles.co.uk and I have just found ...
4
votes
1answer
38 views

How to remove /index.php/ from URL's

I'm a pretty basic WordPress user and know enough to install a theme and customize it. I'm helping a friend out with a new website and installed WordPress 4.4.2 in the root directory via cPanel on his ...
-2
votes
2answers
46 views

How to change Ugly link?

How to change Ugly link from www.test.com/?p=123 to test.com/123 I want to make two types of links: www.test.com/123-my-post-title-name www.test.com/123 The latter should lead ...
1
vote
1answer
87 views

My php header() function is not working [closed]

// Edit: I figured it out. Hours and hours of banging my head against a wall and it turns out all this needed was one simple line: ob_clean(); Somewhere in some included file there's probably one ...
1
vote
0answers
27 views

Adding target and _blank as it's value to the allowedtags

I know that WordPress uses KSES to parse HTML and strip invalid XHTML so I took control of $allowedtags in my themes functions.php file inside a function then added 'target' keyed to an array which ...
0
votes
1answer
29 views

Correct (and secure) way to escape url when using href attribute

maybe it's not such a big deal as I think it is, but I want to escape href attribute with some text. Which one of these examples is the "correct" one - and does it actually matter? <?php printf( ...
0
votes
1answer
36 views

Nginx WordPress and another Web app URL structure

I have got WordPress installed on my root example.com/ Website. Also I have another Web application that on example.com/my-app/ which has got ugly links like example.com/my-app/file.php?arg=value to ...
0
votes
1answer
16 views

Wordpress URL question

I have a web page that I created and in doing a google search for the company and my name a weird page came up. For private reasons I will not reveal the company name so I will use a fictitious ...