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)

3
votes
0answers
71 views

Change the author slug from nickname to ID

I've changed the default registering option by allowing people to sign up with their e-mail addresses. They also have an option to add their firstname, lastname but it's not required. // Allow email ...
3
votes
0answers
137 views

Prevent “main” WPMU site_url() being returned in functions

I've noticed that in a WordPress MU install with domain mapping enabled, some functions return URIs that don't use the current WPMU site's primary domain name which possibly means they are "WPMU ...
3
votes
0answers
265 views

How to create a custom url for a category

I took over a site that displays the category in the URL three different ways. For some categories it shows "?category_name=blah". (Not ideal, but I can live with it) For newly created categories ...
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
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 ...
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 ...
1
vote
0answers
82 views

How to disable URL rewriting for specific URLs?

I'm new to Wordpress, so I might be missing something simple. It seems to me that even with permalinks set to plain, Wordpress makes small changes to URLs. For example: www.example.com/aaa?bbb=ccc ...
1
vote
0answers
76 views

Add Taxonomy Subcategory To Permalink

I am using a custom post type (job_listing) and custom taxnomy (job_listing_category) via the Job Manager plugin. I came across a guide in the plugin's documentation, to "add the Job’s category name ...
1
vote
0answers
29 views

non-hierarchical post type with hierarchical url structure

I want the url for my custom post type to be like : "example.com/parent-custom-post/child-custom-post/grandchild-custom-post/" without setting the hierarchical(for custom post type) to true. I heard ...
1
vote
0answers
29 views

how to trace a file by the route url

i want to know, how can i zero in on the file that is rendered for a prticular route url. I am using the postname permalinks i.e. https://domainname.com/sample-post/ How can i check the file that is ...
1
vote
0answers
22 views

Host frontpage via example.com and everything else via example.com/blog

I've assigned a page as frontpage which will be available via example.com. All the other pages should be below the /blog. For example: Main-page: example.com All posts: example.com/blog Single Blog ...
1
vote
0answers
301 views

URL masking of subdomain to main domain using .htaccess

I am facing with the following technical challenge : We have a main website running on wordpress with content in local language (Greek) on the domain www.adomain.gr We want to set up a second website ...
1
vote
0answers
41 views

rewrite taxonomy-{taxonomy}-{term}.php terms

I try to figure out a rewrite problem, that is a somewhat over my head, so i ask here to find out what i can do. I use this two solutions from Jeff 1 and Milo 2, to get a full-path url for my custom ...
1
vote
0answers
126 views

Wordpress can generate numeric permalinks, which then 404

I know why setting a numerical permalink for a post would mean Wordpress confuses page name and number. However, I notice on the site I am working on (Wordpress 4), that you can edit the permalink to ...
1
vote
0answers
37 views

Changing URLs for taxonomies and CPT

I have two taxonomies for my custom post type: location and price-range. location is hierarchical: city > region > suburb ... price-range isn't. When a user goes into a URL like ww.page.com/...
1
vote
0answers
25 views

Why am I seeing all these weird 'loginid' requests?

I've been monitoring the access log for one of my Wordpress sites, and I'm seeing a lot of requests like this: /?loginid=df01ec6de1 I'll see a long series of these coming from one particular IP ...
1
vote
0answers
409 views

display dynamic content based on url slug on custom page

i have a custom page named locations and i want the url to load like this: /locations/california /locations/nevada etc.. and upon each page load of the given url as above content is loaded based on ...
1
vote
0answers
367 views

Remove subcategory and category with some rules from permalink

My current option for permalink is set to /%category%/%postname%/: I have a category 'stati' and parent category 'italian', 'german'. This parent category has some other parent category, for example: ...
1
vote
0answers
26 views

How to auto gen. custom post type values in other custom post type in url?

I have created two custom post types (CPT) say books and reviews. Now how can i auto generated a reviews page for a specific book title??. What i have done so far i made a review page (page-reviews....
1
vote
0answers
968 views

How to generate a list of all urls

I'd like to display a list of all Urls of my Wordprees site. I print out a list of all taxonomy terms like this : <?php // Get all Post $html = '<h2>Articles</h2>'; query_posts('&...
1
vote
0answers
161 views

How to change the Author Slug from Username to Nickname and deal with Special Characters

I need to change the author slug from username to nickname: This is what is set by default: http://domain.tld/author/(username) This is what I need: http://domain.tld/author/(nickname)-(author-ID) ...
1
vote
0answers
503 views

Change media URL (images)

Similar questions have been posted, but none have been resolved. I'm looking to, programmatically on upload, change the URL of a media file to its URL on a CDN. I.e. modify site.com/wp-content/uploads/...
1
vote
0answers
106 views

Pre-populate Slug / Permalink with URL

I would like to not only pre-populate the title, tags, and categories, but would also like to pre-populate the slug / permalink as well. Can I do this and if so how? Here's my functions.php code: ...
1
vote
0answers
152 views

Search Query: how to construct a search string from two select elements?

Im trying to create a wordpress search widget. The final search string Im trying to submit is made up of two keywords, one each from a select element. I'd like the final search query to be '/...
1
vote
0answers
197 views

Relative v.s. absolute URLs: which ones should I use for cross-domain portability?

My question is related to but different from this one I need to make sure that my URLs work across domains like staging.domain.com, localhost:8000 and www.domain.com. I have local, staging and ...
1
vote
0answers
35 views

Adding custom taxonomy in my existing category URL

I have a custom taxonomy for my posts called "Continents" and they could be: Europe, Africa, Antarctica etc... Then I have standard categories like: News, Reviews, Interviews etc. And 1 subcategory ...
1
vote
0answers
266 views

Multiple post categories - single permalink

I created a post which is assigned to multiple categories. Eg: I have a post "My Post", and I put it in "foo" and "bar" categories. Now my article will have two permalinks, "/foo/my-post" and "/bar/...
1
vote
0answers
146 views

change content based on url per plugin

I have a wordpress page that uses a custom template I created. The url looks like this: http://localhost/custom What I want to do, is have the content for this page change, depending on the action (...
1
vote
0answers
178 views

Changing URL scheme, mod_rewrite not helping

We're trying to move away from the /YYYY/MM/DD/Post-Title URL structure without breaking links that are floating around on the internet. The mod_rewrite rule is fairly straight forward - RewriteRule ...
1
vote
0answers
88 views

Need help enqueueing webfonts

I am attempting to enqueue web fonts that I am loading in via the WebINK font library. (This service is similar to Typekit). This service works by generating a unique CSS link for each unique site. I ...
1
vote
0answers
269 views

Pages redirected to attachment post

THE SETUP I'm using WordPress 3.4.2 with Magic Fields 2 plugin. Using MagicFields2, I've added a custom field to the builtin 'page' post type. This field is called 'section_header' (which is ...
1
vote
0answers
429 views

Custom category URL rewriting

Here is the situation: let say I have a page called Press and that page has this url: www.example.com/press-center Now, let say that I have a category Press (slug is press) and subcategory called ...
1
vote
0answers
51 views

category url structure

Is it possible to have listed all available categories on www.example.com/category/ request. Using the following url as mentioned in my example generating 404 error.
1
vote
0answers
99 views

WP_Query Attachment adds additional attachment count and need to link attachment to post url

I just wonder why WP_Query adding one more additional attachment with the defined number or posts. Also need to link attachment (thumbnail) to the post url. Here is my code <?php $query = new ...
1
vote
0answers
470 views

Using custom taxonomies to display hierarchical URLs?

I can't seem to get my custom taxonomy hierarchy working properly. It seems like many other have had this problem but none of their fixes work for me. I would like to have a URL structure similar to ...
1
vote
0answers
65 views

ngnix Url rewrite doesn't work

on my server i have installed magento,which is in my root directory. then I created a sub-folder named blog in my site's server. access the blog url is: http://example.com/blog http://example.com/...
1
vote
0answers
45 views

menu using category and tags

I'd like to do (somehow) manual menus that would display all posts within certain category. Eg, I'd have sections "applications" and "games" so now i can do this: www.site.com/category/applications,...
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 ...
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
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
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-...
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
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 ...
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
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
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/...