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)

2
votes
0answers
119 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 ...
1
vote
0answers
17 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
31 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
68 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
33 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 ...
1
vote
0answers
24 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
221 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
202 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
23 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 ...
1
vote
0answers
340 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>'; ...
1
vote
0answers
125 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
410 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 ...
1
vote
0answers
76 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
98 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
147 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
32 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
226 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 ...
1
vote
0answers
113 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
151 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
82 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
203 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
387 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
201 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 ...
1
vote
0answers
48 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
85 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
382 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
64 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 ...
1
vote
0answers
43 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: ...
0
votes
0answers
20 views

How to change post template via url?

I have a single post template (single.php) which displays the title, the abstract, tags, content etc. I made another template (abstract.php) to display only the title and the abstract of the post. ...
0
votes
0answers
17 views

Two same URL domain

I have a problem with my wordpress . I just migrate to a new install only the post and categories . But now entering a link or search the CSS BASE URL for example doubles A href attribute URL : ...
0
votes
0answers
26 views

Unable to perform simple URL rewrite

I've been trying to get url rewrites to work, but I don't seem to be getting anywhere with them. I've checked that AllowOverride All is set in httpd.conf, I've made sure that rewrite rules are ...
0
votes
0answers
19 views

hook wp_get_attachment_image_src

I am using wp pods custom fields for custom post types.. I am holding image links in custom fields. With a hook to "post_thumbnail_html" i fixed thumbnails but when i need wp_get_attachment_image_src ...
0
votes
0answers
14 views

How to control the the URL of a Custom Post Type to have multiple slugs?

I currently have a custom post type whose rewrite rule is this: 'rewrite' => array( 'slug' => 'tests', 'with_front'=> false ), So the URL is www.domain.com/tests/post-name ...
0
votes
0answers
6 views

bbPress — remove default login, put on front page

I have 2 questions regarding bbPress: 1) Is it possible to remove the default login system altogether (and only have social login). 2) Is it possible to put it in the front page (www.website.com) ...
0
votes
0answers
17 views

Custom URL Rewriting by Year, Custom post type and Custom taxonomy

I am trying to create a custom rewrite url, but is not so clear for me unfortunately... So my problem is: I have a Media-Resources custom post type and Media Type custom taxonomy. This taxonomy is ...
0
votes
0answers
10 views

How to retrieve a post by inputing the url in a custom field and displaying it on an options page

If have an options page where I have a custom text field and I want to paste a url of a post in that custom field and retrieve the Post Title and Excerpt and display theme above the custom field and ...
0
votes
0answers
12 views

Export CSV path in custom plugin

I create a plugin called project, which not using custom post type. I created a separate table for it. function menu() { add_menu_page('Project', 'Project', 'administrator', 'project', ...
0
votes
0answers
20 views

problem getting audio url

I have a custom loop that should be getting 6 posts but it's only returning 4. There are 6 in the category $args = array( 'category_name' => 'audio', 'posts_per_page' => -1 ); $audio = new ...
0
votes
0answers
22 views

Getting gallery and image detail URL in Photo Gallery plugin

I am migrating photo galleries from old gallery system to Photo gallery plugin. Because I need to make a HTTP 301 redirection from original URL (gallery and photo detail) to new URL in Photo Gallery ...
0
votes
0answers
16 views

Uploaded files URL broken since server change

I moved my wordpress website from my old server to my new. Everything works, except that every uploaded files (PDFs for example) with accents (é,à, and so on) in the file name got their URL broken. So ...
0
votes
0answers
20 views

How can I achieve this site/url structure

Can anyone help me achieve the following. I have two custom post types, 'stores' and 'offers'. stores contain 'stores' one level deep. e.g. site.com/stores/store1 site.com/stores/store2 I then ...
0
votes
0answers
15 views

Wordpress URL Encoding For “&” Sign

Basically i am using brands filtering for posts. brands are custom field in the post. How to work with URL encoding in wordpress ? i tried with urlencode and also rawurlencode but not helpful. This ...
0
votes
0answers
11 views

How to add Wordpress Username in the url of the button clicked

Sir i am new to wordpress but developed my website somehow, now i am facing a issue as my website is a cashback site so i need to change url for every logged in user so that i can track the sale made ...
0
votes
0answers
40 views

Remove one part from the Permalink automatically

I have a bit of a messed up situation. The client wanted to have static landing pages like website.com/state/city but also create custom post types like restaurant. So I setup regular pages with the ...
0
votes
0answers
7 views

web.com/post/post-title redirects to web.com/post-title

I'm having a complain of the SEO guy because a post url is not like this web.com/post/post-title But like this web.com/post-title And even web.com/post/post-title redirects to web.com/post-title ...
0
votes
0answers
40 views

Generating a URL with no content for captcha

I modified my regular form to ajax form. I have captcha simple_php_captcha in my form which is generating captcha. I need to chage it's image if the user request it to change. I am thinking to ...
0
votes
0answers
40 views

Change wordpress blog post permalink structure

My blog post URL consits of Website Name % Year % Month % Post Name. If i update any post, it does take the new Date as the post URL. Is there a way so that i can change the Permalink structure ...
0
votes
0answers
15 views

Custom URL Structure for posts with subcategories

I have a website with the following structure in Posts: 14k-gold-silver - Symphony - Noir 14k-gold-diamond -forever classic -bridal Now I added some itemes to each of the sub categories ...
0
votes
0answers
31 views

Missing post title from permalink

All my sites' post don't have post name/title in their url. I imported thousands of posts into my site in "draft" status. To publish them I used SQL command in phpmyadmin to change status to publish. ...
0
votes
0answers
30 views

Custom post type clean url

I'm trying to create clean url's for my custom post type, but I can't seem to figure out how to make this work. First I followed the Wordpress codex using publicly_queryable and query_var in my ...